Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Aliases for Your Favorite PowerShell Commands

$
0
0

Summary: Find aliases for your favorite Windows PowerShell commands.

Hey, Scripting Guy! Question How can I find shortcut names for the long command names I am always typing when I work from the Windows PowerShell console?

Hey, Scripting Guy! Answer Use the Get-Alias cmdlet and specify the name of the long command you want to shorten
          in the –definition parameter. The following technique returns aliases for the Get-CimClass cmdlet:

Get-Alias -Definition Get-CimClass

Note  Not all cmdlets have aliases, but you can easily create your own by using the New-Alias cmdlet.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>