Powershell-cmdlet

get-help <cmdlet-name> -detailed

cmdlet |cmdlet

get-service|format-list

format-table

 

 get-help cmdlet -detailed|-examples|...

get-member:Learn About Objects
format-list:format Command Output

 

New-Object创建.NET对象

 

Date:

  get-date

 

 get-help cmdlet -detailed这个最重要

Finding Cmdlet Parameters

Finding Cmdlet Parameters in Help Topics

get-command cmdlet

get-help cmdlet -detailed

Finding Cmdlet Parameters in Code

(get-command get-service).definition

(get-command get-service).parameters

Common Parameters

get-help about_commonparameters

 

 

http://technet.microsoft.com/en-us/library/hh847768.aspx

 

posted @ 2013-05-07 09:29  daishuguang  阅读(250)  评论(0编辑  收藏  举报