Sunday 27 September 2015

List All SharePoint PowerShell Commands


Hi All,

Here is the simple way to list all Power shell commands.

1. To know the total count:
    Get Count: (Get-Command -PSSnapin Microsoft.SharePoint.PowerShell).count

2. List of all commands : 
    Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | select name, definition | fl > C:\PowerShell_Commands.txt

Above command gives the text file which will have all the powershell commands.

Cheers

No comments:

Post a Comment