Showing posts with label examples. Show all posts
Showing posts with label examples. Show all posts

Wednesday, October 26, 2011

SharePoint PowerShell My Examples

Here are some common powershell commands that I run in sharepoint

Display Build Info
$(get-spfarm).buildversion

Display your sharepoint commands user either
Get-Command -noun sp* or help *-sp*

Display our Templates
Get-SPwebtemplate

Display Service Applications and the associated application pool
Get-SPServiceApplication | select typename,applicationpool | ogv

Display Web Applications and the associated application pool
Get-SPWebApplication | select url,applicationpool | ogv