published: 6th of July 2021
PowerShell can be used to codify Microsoft Windows environments. This post covers the basics of getting started with PowerShell.
The following software was used in this post.
Get a list of cmdlets
Get help for a cmdlet
PowerShell ships with a minimal help system. To update the help system use the following cmdlet
Many common unix/linux commands are aliased to windows commands. The get a list of aliases use the Get-Alias cmdlet.
To get the PowerShell Engine version, get the PSVersion key from the $PSVersionTable hash table.
$PSVersionTable.PSVersion # output Major Minor Build Revision ----- ----- ----- -------- 5 1 19041 1023