Skip to content
PowerShell is fun :)

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

Category: Formatting

Using DumPS in PowerShell for easy reading of all Properties

While debugging PowerShell code outside of Visual Studio Code, it's always difficult to keep drilling down into all the Properties with nested objects inside of them, etc. With DumPS, this is a lot easier. In this blog post, I will show you how it works.

Harm Veenstra Formatting, PowerShell 1 Comment July 24, 2026July 24, 2026 2 Minutes

Using Strict Mode in PowerShell

PowerShell is incredibly flexible; it's a forgiving scripting language. But this could turn into scripts not written according to best practices or that rely on things that work automatically, and sometimes fail without really understanding why. In this blog post, I will show you how Strict mode works and how it can help you 🙂

Harm Veenstra Formatting, PowerShell 1 Comment February 20, 2026February 20, 2026 3 Minutes

a Hidden gem in PowerShell : Format-Custom

It was something I ran into this week, Format-Custom. Usually I display things in a list or table, but this is different... And very useful! In this blog post, I will show you how it works.

Harm Veenstra Formatting, PowerShell Leave a comment February 6, 2026February 6, 2026 3 Minutes

My PowerShell for Visual Studio Code extension settings

I use Visual Studio Code to create and edit PowerShell scripts. The PowerShell Extension from Microsoft has some excellent features that will make your scripts more readable and consistent formatting-wise. In this blog post, I will show you my configuration and the options I use.

Harm Veenstra Formatting, PowerShell, Visual Studio Code 3 Comments September 12, 2024September 12, 2024 5 Minutes

Display Markdown files in PowerShell

Creating Markdown files is something that I do regularly, usually in Visual Studio Code or Obsidian. But when working in a Windows Terminal or a standard PowerShell prompt, it's nice to display those .md files in those, too, with all the formatting that Markdown gives you. In this blog post, I will show you how 🙂

Harm Veenstra Formatting, MarkDown, PowerShell Leave a comment August 23, 2024August 23, 2024 2 Minutes

Parameters for PowerShell Scripts and Functions

Using parameters for your Scripts and Functions is very powerful. You don't have to hardcode things in them, making running them from a command line easier. This blog post will show you the parameters I use in most of my scripts and how they work.

Harm Veenstra Formatting, PowerShell 2 Comments May 17, 2024May 17, 2024 3 Minutes

Use PowerShell to create report of a DTS Compliant NPS log

One of our customers had issues authenticating clients using NPS. One of the first things you do is... I read the NPS logs, and they were DTS Compliant formatted, a bit of a pain to read and search 🙁 So, I used PowerShell to create a nice log for me in either a GridView or an Excel file. In this blog post, I will show you how!

Harm Veenstra Formatting, Logs, Networking, Security 1 Comment March 28, 2024February 22, 2025 4 Minutes

Things I use most in my PowerShell scripts

Looking back at the scripts I created the last year, certain things always come back in most of them. In this blog post, I will show you a few and explain them.

Harm Veenstra Formatting, PowerShell 4 Comments August 2, 2023August 22, 2023 4 Minutes

PowerShell Out-ConsoleGridView and F7History

I saw these two console tools for PowerShell in my newsfeed, and I like them. This blog post will explain what they are and how they work.

Harm Veenstra Formatting, PowerShell, PSReadline, Windows Terminal 8 Comments July 26, 2023September 26, 2024 2 Minutes

Using the #Requires statement in PowerShell

Sometimes you have scripts that require specific versions of modules, or if the script is started with Administrator privileges, you can add checks for that in the script itself or... You can use the built-in #Requires statement for that. In this blog post, I will show you how.

Harm Veenstra Formatting, PowerShell Leave a comment April 24, 2023August 22, 2023 3 Minutes

Posts navigation

Older posts

Post Types

  • Post (281)
  • Page (6)

Blog Stats

  • 1,172,940 hits

If you like my blog posts, consider buying me a coffee or sponsoring me on GitHub :)

Buy me a coffee
Sponsor Harm Veenstra on GitHub Sponsors
@HarmVeenstra

Support HarmVeenstra's PowerShellisfun's work :)

Sponsor

Join 213 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 (25)
  • JSON (1)
  • Jupyter (2)
  • Learning (7)
  • Licensing (1)
  • Linux (4)
  • Logs (9)
  • macOS (1)
  • MarkDown (2)
  • Mastodon (1)
  • Microsoft Defender (1)
  • Microsoft Endpoint Manager (25)
  • Microsoft Evaluation Center (2)
  • Microsoft Exchange (11)
  • Microsoft Graph (13)
  • Microsoft MVP (6)
  • Microsoft Teams (1)
  • Netsh (1)
  • Networking (17)
  • PDQ (1)
  • PowerShell (275)
  • Printers (3)
  • PSConfEU (4)
  • 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)
  • Using the New-TemporaryDirectory Cmdlet in PowerShell v7.7November 27, 2026
  • PowerShell v7 will ship with the next Windows release, and the deprecation timeline for Windows PowerShell v5November 20, 2026
  • PowerShell v7.7 GA release and the end of the MSI installer?November 13, 2026
  • Search your PowerShell Command-Line History and execute one or more entriesNovember 6, 2026
  • PowerShell Preview v7.7.0-rc.1 ReleaseOctober 30, 2026
  • Report on the Feature Update level of Intune Devices using PowerShellOctober 23, 2026
  • PSConfEU MiniCon 2026October 13, 2026
  • Using the PowerShell PSCompression module to create or extract ZIP, tar, RAR, gzip, bzip2, etcOctober 9, 2026
  • Test your network equipment using PowerShell and the Invoke-NetStress ModuleOctober 2, 2026
  • slmgr.vbs replacement in PowerShell using the OSLicense moduleSeptember 25, 2026
  • November 2026 (4)
  • October 2026 (5)
  • 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. PowerShell is fun :)Overview of 2022 posts on Using Send-MgUserMail as the Send-MailMessage replacementNovember 24, 2026

    […] I wrote this because I used Send-MailMessage a lot for mailing logs from the script, and the message that…

  2. PowerShell is fun :)Overview of 2022 posts on Using Send-MgUserMail as the Send-MailMessage replacementNovember 24, 2026

    […] I wrote this because I used Send-MailMessage a lot for mailing logs from the script, and the message that…

  3. PowerShell is fun :)PowerShell Profile on Searching Windows Event Logs using PowerShellNovember 24, 2026

    […] created this function recently. It’s a function to search your Windows Eventlog for certain EventIDs or a specific […]

  4. PowerShell is fun :)2023 overview on Export registry information using PowerShellNovember 24, 2026

    […] to the latest version and clean up older versions. Also, ScrambledBrain helped me on it!#07 Export registry information using…

  5. PowerShell is fun :)2024 Overview on PowerShell GamesNovember 23, 2026

    […] PowerShell Games […]

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