Skip to content

PowerShell is fun :)

Blogs about things I encounter in my daily work as an IT Consultant

  • Home
  • Podcasts and videos
  • Events
  • Awards and honors
  • About
  • Contact
  • Privacy Policy

Month: July 2024

Using Switch in PowerShell

Everyone uses If statements in their scripts: If this, then that. Or If not this, then that, multiple If, and even Elseif. But there is another option, Switch. In this blog post, I will show you how you can use Switch and make your scripts more readable in the process 🙂

Harm Veenstra PowerShell Leave a comment July 26, 2024July 26, 2024 3 Minutes

500.000 views!

And... my blog site just passed 500.000 views! I started my first blog post on April 21, 2022, and the views have been increasing ever since. 🙂 I want to thank you all in this blog post and show you how much the site grew over time.

Harm Veenstra PowerShell Leave a comment July 16, 2024July 17, 2024 2 Minutes

PowerShell PSDrive

This is sometimes forgotten, the easy way of accessing or checking network drives, certificates, registry, variables, etc. In this blog post, I will show you what a PSDrive does and some examples of its use.

Harm Veenstra PowerShell Leave a comment July 12, 2024July 12, 2024 3 Minutes

Using Pop-Location and Push-Location in PowerShell

At PSConfEU, somebody asked me if I used Pop-Location and Push-Location. Well, I know it's there, but no. 🙂 In this blog post, I will show you how to use it and that it might come in handy!

Harm Veenstra PowerShell Leave a comment July 5, 2024July 5, 2024 3 Minutes

Post Types

  • Post (273)
  • Page (6)

Blog Stats

  • 1,142,317 hits
If you like my blog posts, consider buying me a coffee :)

Buy Me a Coffee

Join 212 other subscribers
  • 365 (9)
  • 9GAG (1)
  • Active Directory (9)
  • API (8)
  • Azure (5)
  • Azure AD (5)
  • chromeOS Flex (1)
  • Crypto (1)
  • Docker (3)
  • DuPSUG (1)
  • Entra ID (8)
  • Experts Live NL (1)
  • Formatting (18)
  • Fun (25)
  • GitHub (5)
  • Hyper-V (7)
  • Intune (24)
  • JSON (1)
  • Jupyter (2)
  • Learning (7)
  • Licensing (1)
  • Linux (4)
  • Logs (9)
  • macOS (1)
  • MarkDown (2)
  • Mastodon (1)
  • Microsoft Defender (1)
  • Microsoft Endpoint Manager (24)
  • Microsoft Evaluation Center (2)
  • Microsoft Exchange (11)
  • Microsoft Graph (13)
  • Microsoft MVP (6)
  • Microsoft Teams (1)
  • Netsh (1)
  • Networking (17)
  • PDQ (1)
  • PowerShell (267)
  • Printers (3)
  • PSConfEU (3)
  • PSEdit (3)
  • PSReadline (4)
  • PSRemoting (1)
  • PSResourceGet (1)
  • RSS (1)
  • Security (38)
  • Slack (1)
  • Social (7)
  • Stream Deck (1)
  • SYSLOG (1)
  • Twitter (1)
  • Ubiquiti (1)
  • VBScript (1)
  • Visual Studio Code (17)
  • WHOIS (1)
  • Windows Sandbox (6)
  • Windows Terminal (4)
  • Windows Updates (2)
  • Winget (8)
  • Workplace Ninjas (1)
  • WSL (3)
  • Test your network equipment using PowerShell and the Invoke-NetStress ModuleOctober 2, 2026
  • slmgr.vbs replacement in PowerShell using the OSLicense moduleSeptember 25, 2026
  • Workplace Ninjas Summit 2026 RecapSeptember 10, 2026
  • Calculating in PowerShellSeptember 10, 2026
  • PowerShell v7.7.0 preview 4September 2, 2026
  • The FreeDadJokes PowerShell ModuleAugust 28, 2026
  • Query CVE information using the PowerShell PoshCVE ModuleAugust 20, 2026
  • 750.000 Visitors!August 12, 2026
  • PowerShell Typing Speed TesterAugust 5, 2026
  • Bulk create Demo users in Active Directory using PowerShellAugust 1, 2026
  • October 2026 (1)
  • September 2026 (4)
  • August 2026 (5)
  • July 2026 (4)
  • June 2026 (3)
  • May 2026 (6)
  • April 2026 (4)
  • March 2026 (4)
  • February 2026 (4)
  • January 2026 (5)
  • December 2025 (4)
  • November 2025 (4)
  • October 2025 (5)
  • September 2025 (4)
  • August 2025 (5)
  • July 2025 (4)
  • June 2025 (4)
  • May 2025 (5)
  • April 2025 (4)
  • March 2025 (4)
  • February 2025 (4)
  • January 2025 (5)
  • December 2024 (3)
  • November 2024 (5)
  • October 2024 (5)
  • September 2024 (4)
  • August 2024 (5)
  • July 2024 (4)
  • June 2024 (4)
  • May 2024 (5)
  • April 2024 (4)
  • March 2024 (5)
  • February 2024 (4)
  • January 2024 (4)
  • December 2023 (4)
  • November 2023 (5)
  • October 2023 (4)
  • September 2023 (4)
  • August 2023 (5)
  • July 2023 (4)
  • June 2023 (6)
  • May 2023 (5)
  • April 2023 (4)
  • March 2023 (4)
  • February 2023 (5)
  • January 2023 (5)
  • December 2022 (6)
  • November 2022 (5)
  • October 2022 (8)
  • September 2022 (9)
  • August 2022 (10)
  • July 2022 (12)
  • June 2022 (11)
  • May 2022 (10)
  • April 2022 (3)
  1. Harm Veenstra on Test your network equipment using PowerShell and the Invoke-NetStress ModuleOctober 4, 2026

    It has just been updated so that it works in PowerShell v5 again!

  2. Harm Veenstra on Test your network equipment using PowerShell and the Invoke-NetStress ModuleOctober 4, 2026

    I tested it myself by installing the Module and using the Function, but if you downloaded the .ps1 file from…

  3. Anand Narine on Test your network equipment using PowerShell and the Invoke-NetStress ModuleOctober 4, 2026

    powershell.exe -ExecutionPolicy Bypass -File .\Invoke-NetStress.ps1 At C:\Users\bsg\Downloads\Invoke-NetStress.ps1:170 char:35 + Write-Host " [1] Low | 4 Sockets | Est. Output: ~150…

  4. David Lathrop on Using PSBoundParameters or IsPresent when checking PowerShell Switch or Parameters usageSeptember 1, 2026

    It's probably better to just use "if ($switch) ..." instead of "$switch.IsPresent". PowerShell allow you to explicitly use "-Switch:$false" on…

  5. Matt Jarrell on The FreeDadJokes PowerShell ModuleAugust 28, 2026

    Ha - that's awesome!

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy