January 2008
Intermediate to advanced
688 pages
19h 12m
English
Aliases allow you to assign shortcut names to cmdlets. This can greatly simplify working at the Windows PowerShell prompt and it will allow you to customize the command syntax as you prefer. As an example, suppose you want to create an alias for the Get-Help cmdlet. Instead of typing Get-Help, perhaps you prefer to type gh. This can be accomplished in four simple steps. First, ensure there is not already an alias assigned to the desired keystroke combination to avoid confusion. The next thing you might want to do is review help for the Set-Alias cmdlet. Once you have done this, call the Set-Alias cmdlet and pass the new name you want to create and the name of the cmdlet you wish to alias. ...
Read now
Unlock full access