1. If we want to list all the SharePoint cmdlets we can use the following command:
Get-Command “*sp*” –CommandType cmdlet2. To get a count of all the SharePoint cmdlets grouped by Verb use the following command:
Get-Command “*sp*” –CommandType cmdlet | Group-Object –Property Verb3. To list all the SharePoint cmdlets grouped by Verb use the following command:
Get-Command “*sp*” –CommandType cmdlet | Format-Table –Property Name,Definition –GroupBy Verb4. To get help for any cmdlet use the following command. Just replace the cmdlet name with the name of the command:
Get-Help <cmdlet>-Full
No comments:
Post a Comment