您现在的位置: IT专家网 > WinSystem子站 > Longhorn
Windows PowerShell学习笔记
作者: , 出处:靖海安澜阁, 责任编辑: 刘志坡,
2007-11-20 08:59
PowerShell是专为系统管理员设计的全新的 Windows 命令行外壳程序。其构建在 .NET 公共语言运行时 (CLR) 和 .NET Framework 的基础之上,为您提供了对计算机上文件系统、注册表和数字签名证书的访问……
若要仅查看示例,请使用 Examples 参数。例如,若要显示 Get-Command cmdlet 的示例,请键入:
get-help get-command -examples
若要仅查看详细的参数说明,请使用 Get-Help 的 Parameter 参数。可以指定参数的名称,或者使用通配符 (*) 指定所有参数。例如,若要查看 Get-Command 的 TotalCount 参数说明,请键入:
get-help get-command -parameter totalcount
若要查看 Get-Command cmdlet 的所有参数,请键入:
get-help get-command -parameter *
也可以使用调用 Get-Help 的 PowerShell函数之一。Help 函数一次显示一整屏帮助内容。Man 函数显示与 Unix 中的手册页类似的帮助。若要使用 Help 和 Man 函数显示 Get-Command cmdlet 的帮助,请键入:man get-command
或help get-command
- 本文关键词:

