X

PowerShell

Apply WhatIf to an entire script

Yesterday, I needed to create a script that would allow me to stop a lot of services in one go,…

Powershell: Get an indented process tree

In PowerShell, there is the Get-Process cmdlet. However, this does not return the ParentProcessId property, so it is unsuitable for…

Reading the Windows Registry from PowerShell

Reading the Windows registry from PowerShell can be a bit cumbersome, when all you wanted to retrieve is the value…

Useful PowerShell functions and snippets

This post contains a few (short) useful PowerShell functions and snippets, that you can include in projects and/or your profile,…

This website uses cookies.