Meziantou's blog

Deep dives and practical tips about .NET, C#, and developer tooling

  • Home
  • Projects
  • Talks
  • Archives
  • About
  • Resume
  • Contact

Categories: PowerShell (24 posts)

2026

  • Safely passing extra arguments in GitHub Actions workflows using PowerShell
  • PowerShell Parameter Validation Attributes
  • Validating PowerShell script syntax in GitHub Actions workflows

2025

  • Flushing Disk Caches on Windows: A Comprehensive Guide
  • How to Retrieve Your Windows Product Key Using PowerShell
  • PowerShell Script to rename .NET projects
  • Remove empty folders using PowerShell
  • How to use a natural sort in PowerShell

2024

  • How to export user aliases from Microsoft Entra using PowerShell
  • Stop a script when an error occurs in PowerShell
  • Improve PowerShell performance by disabling progress bars

2023

  • Turn off monitors when locking the computer
  • How to convert YAML to JSON with PowerShell Core
  • Keeping your software up to date using winget and PowerShell
  • Generate large files using PowerShell

2022

  • Executing GitHub Actions jobs or steps only when specific files change

2020

  • How to change the default shell in Windows Terminal
  • Convert cmd scripts to PowerShell

2019

  • Convert music files from FLAC to ALAC

2018

  • Tip: Disable Windows Error Reporting (WER)

2017

  • Lock a BitLocker drive without restarting
  • Generate a self-signed certificate for code signing

2016

  • Convert a VMDK (VMWare) file to VHDX (Hyper-V)

2014

  • Test the connection to a SQL Server database
Photo of Gérald Barré

Gérald Barré

aka. meziantou

Microsoft Most Valuable Professional (MVP)

Recent posts

  • Using JsonPath with System.Text.Json to query JSON in .NET
  • Querying Roslyn syntax trees with XPath
  • XPath for custom types in .NET
  • Benchmarking .NET test frameworks: xUnit v3, NUnit, MSTest, and TUnit
  • Run temporary containers in .NET tests with Meziantou.Framework.TemporaryContainers

Links

  • Async/await resources
  • .NET Multithreading resources
  • Visual Studio tips
  • Online tools
Copyright © 2026 Gérald Barré - Use of this site constitutes acceptance of our Terms of use and Privacy policy.