Articles

PowerShell articles, tutorials, and guides from community experts.

pwshliquori
PowerShell for Admins

Find-Module, Find-Script – Don't Recreate the Wheel

The PowerShell Gallery is a collection of modules and scripts that is community driven to help us automate everyday tasks. Sometimes, we have an idea that could written into a function or script, however, most of the time, someone else had the same idea and published their work to the PowerShell …

Mark Roloff
PowerShell for Admins

Phenomenal number of ACLs, itty-bitty living space

I recently had a need to backup file and folder ACLs for a client that would then need to restore them to their original objects following a hardware upgrade that would wipe them out. Easy enough, but the catch was that there was 1.5 million of them. Fortunately, getting ACLs in PowerShell is easy. …

pwshliquori
PowerShell for Admins

Get-Command – One of the best Cmdlets besides Get-Help

So laying on the sofa, sick, bored out of my mind, what better way to spend my time then writing a blog post about Get-Command . The Get-Command Cmdlet is apart of the Microsoft.PowerShell.Core module, it was introduced in PowerShell version 1.0 and is one of the most useful Cmdlets to find a …

pwshliquori
Tips and Tricks

Hear, Hear for Here-Strings

Running commands in PowerShell that require a format that will not run natively in PowerShell could be a difficult task, or can it? PowerShell provides a way to store, for example, a JSON as a string, enter here-string. A here-string is a single or double quoted string in which the quotation marks …