1

Closed

Get the default root location for web apps fails in Windows Server 2012

description

On Windows Server 2012, the following line does not work:
ImportWebAdministration
But, the following works:
Import-Module WebAdministration
Closed Oct 19, 2013 at 1:49 PM by brianlala

comments

brianlala wrote Oct 19, 2013 at 1:49 PM

ImportWebAdministration is a custom function within AutoSPInstaller which in turn runs Import-Module WebAdministration, so it's normal & expected that it wouldn't work on its own in Windows Server 2012 (or anywhere else, unless AutoSPInstallerFunctions.ps1 was loaded).

Brian