●HELP
get-help
help = get-help | more
●helpの更新(PSを管理者として実行)
update-help -Force -UICulture en-US(PS coreでは英語版しかない)
●helpのダウンロード
save-help
●パラメータの説明だけを表示する
help update-help -Parameter *
help help -parameter name
●すべて表示する
help update-help -Full
●利用例だけを表示する
help update-help -Examples
●IEでオンラインヘルプを表示する(オンラインヘルプが最新版)
help update-help -Online
●部分一致検索
help item
●コマンド名だけの検索ならGet-Command
Get-Command *Output
●about
help about*
●commonparameters
Get-Process pwsh | Stop-Process -whatif 説明が表示される
Get-Process pwsh | Stop-Process -confirm 実行前にY/Nが表示される
●
Get-Verb
●-のあとにCtrl+Spaceでパラメータのリスト表示
PS C:\Users\me> Get-ChildItem -Path
Path Attributes ErrorAction
LiteralPath FollowSymlink WarningAction
Filter Directory InformationAction
Include File ErrorVariable
Exclude Hidden WarningVariable
Recurse ReadOnly InformationVariable
Depth System OutVariable
Force Verbose OutBuffer
Name Debug PipelineVariable