Archives
-
PowerShell: get SharePoint Central Administration web application path
One of those things that you find out, forget, and never find back. So its more a post to self;-)
[void][reflection.assembly]::LoadWithPartialName("Microsoft.SharePoint")
[Microsoft.SharePoint.Administration.SPAdministrationWebApplication]::Local.IisSettings.get_Item(0).Path.FullName