Leverage Get-Help

Included within all the Lync Server Management Shell cmdlets is a built-in help reference. To retrieve assistance with any cmdlet, simply type Get-Help followed by the name of the cmdlet. For example, to get assistance with the Set-CsDialPlan cmdlet, type

Get-Help Set-CsDialPlan

This help request returns a description of the cmdlet’s purpose, the full syntax and parameters available in the cmdlet, and a summary of what the cmdlet does. More information can also be requested using the -Examples, -Detailed, and -Full flags at the end of the command. -Examples returns sample commands with the correct syntax, -Detailed returns a description of each parameter, and -Full returns the complete documentation available.

Having this help reference available without manually searching through documentation is incredibly useful. It can also come in handy when you’re having trouble remembering a specific cmdlet name. In these cases, wildcards can be used to search through the documentation for a match. For example, the following command returns a list that displays Set-CsBandwidthPolicyServiceConfiguration and Set-CsBlockedDomain:

Get-Help Set-CsB*

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset