Sunday, June 8, 2014

Get SharePoint Central Admin URL in PowerShell

In a PowerShell script writing, I had to get central admin URL of the SharePoint farm. Tried various approaches and found the below to get SharePoint 2010/SharePoint 2013 Central Administration site URL using PowerShell:

#sharepoint 2010 powershell get central admin url
Get-SPWebApplication -includecentraladministration | where `
  {$_.IsAdministrationWebApplication} | Select -ExpandProperty URL

Alternatively,  you can use:

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...