We all know how important PowerShell has become for SharePoint and some time it is overwhelming to remember all the cmdlets for a dummy in SharePoint. Below are few quick cmdlets which you can execute and get your way out from the plethora of cmdlets available for SharePoint:
1. List all the SharePoint cmdlets Get-Command “*sp*” –CommandType cmdlet
2. Get a count of all the SharePoint cmdlets grouped by Verb Get-Command “*sp*” –CommandType cmdlet Group-Object –Property Verb
3. List all the SharePoint cmdlets grouped by Verb Get-Command “*sp*” –CommandType cmdlet
Format-Table –Property Name,Definition –GroupBy Verb
4. Get help for any cmdlet Get-Help-Full
1. List all the SharePoint cmdlets Get-Command “*sp*” –CommandType cmdlet
2. Get a count of all the SharePoint cmdlets grouped by Verb Get-Command “*sp*” –CommandType cmdlet Group-Object –Property Verb
3. List all the SharePoint cmdlets grouped by Verb Get-Command “*sp*” –CommandType cmdlet
Format-Table –Property Name,Definition –GroupBy Verb
4. Get help for any cmdlet Get-Help
No comments:
Post a Comment