Month: July 2014

Case-Correct Name Lists

All PowerShell versions Let’s assume it’s your job to update a list of names. Here is an approach that will make sure that only first letter in a...

read more

Hibernate System

All PowerShell versions Here is a simple system call that will hibernate a system (provided of course that hibernation is enabled): function...

read more

Recursing a Given Depth

PowerShell 3.0 and newer When you use Get-ChildItem to list folder content, you can add the –Recurse parameter to dive into all subfolders....

read more

Aliases Can Be Dangerous

All PowerShell versions Aliases enjoy the highest priority among executable commands in PowerShell, so if you have ambiguous commands, PowerShell...

read more

Delete Aliases

All PowerShell versions While you can easily create new aliases with New-Alias or Set-Alias, there is no cmdlet to delete aliases. PS> Set-Alias...

read more

Creating Great Reports

All PowerShell versions You can change all properties of objects when you clone them. Cloning objects can be done to “detach” the object...

read more