- PowerShell for Office 365
- Martin Machado Prashant G Bhoyar
- 174字
- 2021-07-02 18:50:38
How to get help with PowerShell
PowerShell comes with a lot of in-built cmdlets, and with the addition of every new module, the list of available cmdlets increases. You can use your favorite search engine to get more information on a cmdlet. You can do this from the PowerShell window as well. The cmdlet to get the help is this:
Get-Help nameofcmdlet
Here's an, for example:
Get-Help Get-Service
The following screenshot shows the output for the preceding command:

This is useful if we would like to get help but don't want to leave the Command Prompt.
If you would like to get help from the official online documentation, you can use the following cmdlet:
Get-Help Get-Service -online
This will open the online help manual of the cmdlet with your default browser:

If you would like to quickly check whether there are any commands available for a particular service, you can use the following cmdlet:
Get-Command *Service*
This will give all the commands that contain the Service service in all the modules that are loaded:
- Mastering RabbitMQ
- 自己動(dòng)手實(shí)現(xiàn)Lua:虛擬機(jī)、編譯器和標(biāo)準(zhǔn)庫(kù)
- Python程序設(shè)計(jì)(第3版)
- Programming ArcGIS 10.1 with Python Cookbook
- 數(shù)據(jù)庫(kù)系統(tǒng)原理及MySQL應(yīng)用教程
- Python Geospatial Development(Second Edition)
- QGIS:Becoming a GIS Power User
- C#程序設(shè)計(jì)
- 全棧自動(dòng)化測(cè)試實(shí)戰(zhàn):基于TestNG、HttpClient、Selenium和Appium
- Learning Concurrent Programming in Scala
- Android玩家必備
- Swift 4 Protocol-Oriented Programming(Third Edition)
- INSTANT Yii 1.1 Application Development Starter
- Kubernetes源碼剖析
- Solutions Architect's Handbook