PowerShell: How do I know what methods a commandlet has?

There is nothing more frustrating than trying to find out what methods are exposed in a commandlet that you are using. Fortunately, there is a commandlet to expose commandlets:

Get-Member

So, if I wanted to know what properties / methods are exposed in Get-SPOSite, I would execute the following:

Get-SPOSite | Get-Member


Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

Error deploying Nintex workflow: An item with the same key has already been added