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

Published Friday, August 17, 2007 1:58 PM by svdoever
Filed under: ,

Comments

No Comments