Powershell
ls , cd .. , mkdir folder , get-host
upgrade windos management framework 4.0
ls and dir is alias for get-childitem
its a cmdlet
the cmdlet is always has verb-singularnoun
get-service
get-process or ps
get-command will list all the
command of cmdlet
To list all the builtin aliases
get-alias
copy one folder to another :
copy-item C:\test1 C:\test2 –recurse
copy-item C:\test1,'C:\program files' C:\tset2
To get all the options for help for each cmdlet
Get-help copy-item ( it may ask you
to update the help )
( Update-help -> to update your help file )
Get-help copy-item –full
Suppose you want to search for a specific command
( in linux we use grep)
Get-command "services"
Get-command –Name *service* à will give you only services .
No comments:
Post a Comment