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

No comments:

Post a Comment