zoukankan      html  css  js  c++  java
  • Windows PowerShell 的基本知识

    下载:

    Windows PowerShell 2.0 For Windows XP Service Pack 3

    说明:Windows Management Framework Core 程序包提供了适用于 IT 专业人员的已更新管理功能。本程序包包括以下组件:Windows PowerShell 2.0 Windows Remote Management (WinRM) 2.0

    中文下载地址:

    http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5

    即补丁:Windows XP 更新程序 (KB968930)

    启动:

    从命令提示符 (cmd.exe) 窗口启动 Windows PowerShell,请在命令提示符下键入:

    Powershell

     

    Windows PowerShell 的基本知识

    首先介绍 Get-Help cmdlet,该 cmdlet 显示有关 Windows PowerShell cmdlet 和概念性主题的信息。然后,介绍几个基本的 cmdlet,说明如何使用 cmdlet 参数,然后说明如何设置 cmdlet 输出的格式以获取有用显示中所需的数据。最后的主题说明如何使用别名以便更容易地使用 Windows PowerShell,如何在 Windows PowerShell 中运行传统的 Windows 程序,以及如何管理错误。

     

    Get-Help cmdlet 是用于了解 Windows PowerShell 的有用工具。通过阅读 cmdlet 的说明、了解有关概念并浏览语言主题,您可以开始了解如何使用 Windows PowerShell 了。

    要显示有关 Windows PowerShell 中帮助系统的信息,请键入:

    Get-Help

    要获取 Get-Command cmdlet 的详细帮助,请键入:

    get-help get-command –detailed

    要获取 Get-Command cmdlet 的完整帮助,请键入:

    get-help get-command -full

    要显示 Get-Command cmdlet 的示例,请键入:

    get-help get-command -examples

    要查看 Get-Command TotalCount 参数说明,请键入:

    get-help get-command -parameter totalcount

    要查看 Get-Command cmdlet 的所有参数,请键入:

    get-help get-command -parameter *

    要查看“Getcmdlet 的帮助主题列表,请键入:

    get-help get-*

    要获取有关通配符的帮助,请键入:

    get-help about_wildcard

    要显示 Windows PowerShell 中所有概念性帮助主题的列表,请键入:

    get-help about_*

     

  • 相关阅读:
    hdu_1072_Nightmare(BFS)
    hdu_4826_Labyrinth_2014百度之星(dp)
    hdu_4823_Energy Conversion
    hdu_3063_Play game
    hdu_3062_Party(2-SAT)
    5、1 部署
    klayge 4.2.0 编译vc9
    数据延迟加载
    指令 scope
    指令 作用域
  • 原文地址:https://www.cnblogs.com/xh831213/p/1694832.html
Copyright © 2011-2022 走看看