Saturday, 8 November 2014

Get-Alias and useful Examples

Get-Alias and useful Examples


  • Get-Alias is very useful Powershell Command.It gives alternate name for the Commands.Instead of long form you can use the short Alias form. Lets see some example.
  • In order to find the Alias of "Get-Service" command which list all the services running in the computer and there running state, type the following Command in Powershell Windows

                      GET-Alias -definition Get-Service.




  • You can see that the Alias for Get-Service command is gsv.
  • So nextime to check this list of service and their status type just "gsv"

No comments:

Post a Comment