get-command -syntax =>包含參數
get-command a* =>所有name為a開頭的
PS C:\Users\Rex> get-command Get-Proce*
CommandType Name Definition
----------- ---- ----------
Cmdlet Get-Process Get-Process [[-Name]
] [-ComputerName ...
PS C:\Users\Rex> get-command Get-Proce* -syntax
Get-Process [[-Name]
] [-ComputerName ] [-Module] [-FileVersionInfo] [-Verbose] [-Debug] [-ErrorAct
ion
] [-WarningAction ] [-ErrorVariable ] [-WarningVariable ] [-Out
Variable
] [-OutBuffer ]
Get-Process -Id
[-ComputerName ] [-Module] [-FileVersionInfo] [-Verbose] [-Debug] [-ErrorAction tionPreference>] [-WarningAction ] [-ErrorVariable ] [-WarningVariable ] [-OutVariabl
e ] [-OutBuffer ]
Get-Process [-ComputerName ] [-Module] [-FileVersionInfo] -InputObject [-Verbose] [-Debug] [-Erro
rAction ] [-WarningAction ] [-ErrorVariable ] [-WarningVariable ] [
-OutVariable ] [-OutBuffer ]...
沒有留言:
張貼留言