windows powershell使用帮助

以下操作都是在powershell 4.0版本操作
查看windows powershell版本命令:$PSVersionTable
1,更新powershell help
前提:能Internet上网,并以管理员权限打开Powershell ise
windows powershell使用帮助
命令:update-help
windows powershell使用帮助

帮助是开源的
Microsoft的PowerShell帮助文件是开源材料,可从http://github.com/powershell
获得。那是查看最新资源的好地方,最新资源可能尚未编译为PowerShell可以下载和显示的帮助文件。

2,使用帮助系统查找命令
help log

3,查找命令范例(以Get-EventLog为例)

help Get-EventLog -Examples

4,双屏显示命令帮助(以Get-EventLog为例)
help Get-EventLog -ShowWindow

5,在线查询帮忙

help Get-EventLog -online

猜你喜欢

转载自blog.51cto.com/jameszhan/2639119