- Microsoft Exchange Server PowerShell Essentials
- Biswanath Banerjee
- 232字
- 2021-07-16 13:04:56
Understanding the help system
This section will cover the use of help in Windows PowerShell. The help topic for a particular command or conceptual help can assist an administrator who is new to Windows PowerShell or using a particular set of cmdlets to understand its syntax and usage.
The Help parameter (?)
The -?
parameter with a cmdlet will display Windows PowerShell help for the cmdlet:

The Get-Help cmdlet
The Get-Help
cmdlet displays help information about PowerShell cmdlets. Some of the examples are discussed as follows.
The following example gives you the help files from the PowerShell help system one page at a time:
PS C:\>get-help * | more
If you know the alias of the cmdlet you are trying to get help for, use the —detailed
parameter for full help:
PS C:\>get-help gps -detailed
If you are not sure of the exact parameter but remember the initial letter, use the following to get help:
PS C:\>get-help get-process -parameter i*
This lists all the parameters of the cmdlet get-process
:
PS C:\>get-help get-process -Parameter *
This provides help with the syntax of the select-object
cmdlet:
PS C:\>(get-help select-object).syntax
There are other properties of the help object such as input types, module name, examples, and more. If you are looking to find all the properties and methods of help object type called get-help <cmdlet-name> | get-member
, for example, PS C:\> get-help get-Service | get-member
.
- Learning LibGDX Game Development(Second Edition)
- Google Apps Script for Beginners
- LabVIEW程序設(shè)計(jì)基礎(chǔ)與應(yīng)用
- Learning Apex Programming
- 編寫(xiě)整潔的Python代碼(第2版)
- Java程序設(shè)計(jì)與計(jì)算思維
- Magento 2 Development Cookbook
- Mastering Scientific Computing with R
- Active Directory with PowerShell
- Learning PHP 7
- Essential C++(中文版)
- Access 2010數(shù)據(jù)庫(kù)應(yīng)用技術(shù)實(shí)驗(yàn)指導(dǎo)與習(xí)題選解(第2版)
- Clojure for Java Developers
- HTML5與CSS3權(quán)威指南
- KnockoutJS Blueprints