• 关于power shell


    自从前段时间为了制作安装包的压缩包而写了一个批处理脚本之后,心里就有学习一种脚本语言的冲动,上周去参加微软的tech.ed大会,听说了power shell这个名词,google了一把,在微软的官方网站上得到了这么一句简介:

    Brief Description

    Microsoft Windows® PowerShell is a new command-line shell and scripting language designed for system administration and automation. Built on the .NET Framework, Windows PowerShell enables IT professionals and developers control and automate the administration of Windows and applications.

     

    PowerShell是一款基于对象的shell, 建立在.Net框架之上, 目前支持.Net Framework 2.0. 能够运行在Windows XP SP2, Windows Vista, Windows 2003操作系统上. 能够同时支持WMI, COM, ADO.NET, ADSI等已有的Windows管理模型.

    有了powershell,我们在windows上就可以编写类似于linux上的脚本语言了,脚本语言有时能够带来很大的方便性。

     

    再来一个更加详细的简介:

    Windows PowerShell 包括:

      超过 130 个命令行工具(称为“cmdlet”),用于执行常见系统管理任务,如管理服务、进程、事件日志、证书、注册表以及使用 Windows Management Instrumentation (WMI)

      命令行工具采用标准命名约定和通用参数,易于掌握和使用;其中还包括用于对数据和对象进行排序、筛选以及格式设置的简便工具。

      现有脚本语言、现有命令行工具以及多种 Windows 版本支持,其中包括 Windows XPWindows Server 2003Windows Vista™ 以及 Windows Server 代码名“Longhorn”

      使用户能够浏览数据存储(如注册表和证书存储),就像面对文件系统一样。

      用于管理位于不同存储中以及采用不同格式的 Windows 数据的标准实用程序,这些数据包括 Active Directory Service Interfaces (ADSI)Windows Management Instrumentation (WMI)、组件对象模型 (COM) 对象、ActiveX 数据对象 (ADO)HTML XML

      在命令行进行的高级表达式分析和 .NET Framework 对象处理,其中包括对对象进行管道处理以帮助提高 IT 专业人员的工作效率。

      可扩展的接口使独立软件供应商和企业开发人员能够构建自定义 cmdlet 以满足特有的应用程序和系统管理要求。

    其中最后一点意味着我们可以添加自定义的命令。

  • 相关阅读:
    Power of Cryptography
    Radar Installation
    Emag eht htiw Em Pleh
    Help Me with the Game
    89. Gray Code
    87. Scramble String
    86. Partition List
    85. Maximal Rectangle
    84. Largest Rectangle in Histogram
    82. Remove Duplicates from Sorted List II
  • 原文地址:https://www.cnblogs.com/strinkbug/p/1325888.html
Copyright © 2020-2023  润新知