- 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
.
- Embedded Linux Projects Using Yocto Project Cookbook
- 零基礎(chǔ)搭建量化投資系統(tǒng):以Python為工具
- TypeScript入門與實戰(zhàn)
- Microsoft Application Virtualization Cookbook
- Apache Spark 2.x Machine Learning Cookbook
- Java加密與解密的藝術(shù)(第2版)
- Apache Spark 2 for Beginners
- Quarkus實踐指南:構(gòu)建新一代的Kubernetes原生Java微服務(wù)
- Python極簡講義:一本書入門數(shù)據(jù)分析與機器學習
- 速學Python:程序設(shè)計從入門到進階
- 嵌入式Linux C語言程序設(shè)計基礎(chǔ)教程
- 金融商業(yè)數(shù)據(jù)分析:基于Python和SAS
- 數(shù)據(jù)結(jié)構(gòu)與算法詳解
- 城市信息模型平臺頂層設(shè)計與實踐
- Python人工智能項目實戰(zhàn)