学习 PowerShell
对于不熟悉 Windows PowerShell 的 SQL Server 用户,可通过以下多种资源来学习 Windows PowerShell。
TechNet 脚本中心
TechNet 脚本中心包括许多可供用户学习 Windows PowerShell 基础知识的资源,还包含许多脚本存储库以及通常与各种 Microsoft 产品一起使用的脚本示例。下表列出了主要的学习资源:
页 |
说明 |
---|---|
Windows PowerShell Documentation on TechNet(TechNet 上的 Windows PowerShell 文档) |
TechNet Library 的本部分内容包含核心 Windows PowerShell Get-Help 主题的 Web 副本。本部分还包含 Windows PowerShell 入门文档、PowerShell.exe 帮助和 Windows PowerShell 基本知识的 Web 副本。 |
Scripting With Windows PowerShell(用 Windows PowerShell 编写脚本) |
Windows PowerShell 脚本学习资源的主页。 |
基于 Web 的 Windows PowerShell 入门学习指南。 |
|
Windows PowerShell Graphical Help File(Windows PowerShell 图形帮助文件) |
可下载的帮助文件,其中包含可搜索帮助文件中内置的 Windows PowerShell Get-Help 信息。该文件包含 Windows PowerShell 1.0 随附的 Get-Help 信息,而不包含其他产品(如 SQL Server 提供程序和 cmdlet 或者 Exchange 2007 cmdlet)的 Get-Help 信息。 |
随 Windows PowerShell 1.0 安装的快速参考文档的可下载副本。 |
PowerShell 文档
Windows PowerShell 1.0 会在 Windows PowerShell 1.0 程序组中的 Documents 文件夹中安装以下文档。还可以在下载 Windows PowerShell 1.0 Documentation Pack 后安装它们。
文件 |
说明 |
---|---|
GettingStarted.rtf |
介绍如何开始使用 Windows PowerShell。还可以从联机 MSDN Library 中获得。 |
UsersGuide.rtf |
Windows PowerShell 环境和语言的入门读物。 |
QuadFold.rtf |
面向常用 Windows PowerShell 语法和命令的可打印快速参考文档。还可以从 TechNet 脚本中心下载。 |
MSDN Library
MSDN Library 中包含的信息面向生成 Windows PowerShell 提供程序和 cmdlet 的开发人员:
页 |
说明 |
---|---|
Windows PowerShell Getting Started Guide(Windows PowerShell 入门指南) |
随 Windows PowerShell 1.0 安装的入门文档的 Web 副本。 |
Windows PowerShell Programmer's Guide(Windows PowerShell 程序员指南) |
介绍如何开发 Windows PowerShell 提供程序和 cmdlet。 |
用来开发 Windows PowerShell 提供程序和 cmdlet 的编程接口的参考文档。 |