Showing posts with label PowerShell Command. Show all posts
Showing posts with label PowerShell Command. Show all posts

May 29, 2014

Get SharePoint Farm ConfigDB Name, Version, Farm Account Details.

Hi,

here is the powershell command to get the details of Config DB name, Build Version and Farm account:

Get-SPFarm | select Name, buildversion, @{expression = {$_.Defaultserviceaccount.name};Label="Farm Account"}

Thank,
JK

April 15, 2014

List all SharePoint 2010 Farm ContentDBs & Application Databases

To List all active Content DBs in SharePoint 2010 Farm, just execute a PowerShell command:

Get-SPDatabase | Format-Table -AutoSize | Out-String -Width 1000