I mistakenly posted this in the Issues section earlier, but I'm not looking for support here. My script ran through all the way to creating a new content database, and I got this output:
Creating new content database "PROD_MySiteHost"...
Get-SPWebApplication : Cannot find an SPWebApplication object with Name, Id, or Url: http://VM-SPWEB.
At C:\SP\Autoinstaller\AutoSPInstallerFunctions.ps1:2635 char:80
New-SPContentDatabase -Name $siteDatabase -WebApplication (G ...
~
CategoryInfo : InvalidData: (Microsoft.Share...tWebApplication:SpCmdletGetWebApplication) [Get-SPWebApp
lication], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetWebApplication
Script halted!
I propose that config files have a contingency checker for required settings.
Comments: ** Comment from web user: brianlala **
Creating new content database "PROD_MySiteHost"...
Get-SPWebApplication : Cannot find an SPWebApplication object with Name, Id, or Url: http://VM-SPWEB.
At C:\SP\Autoinstaller\AutoSPInstallerFunctions.ps1:2635 char:80
New-SPContentDatabase -Name $siteDatabase -WebApplication (G ...
~
CategoryInfo : InvalidData: (Microsoft.Share...tWebApplication:SpCmdletGetWebApplication) [Get-SPWebApp
lication], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetWebApplication
Script halted!
I propose that config files have a contingency checker for required settings.
Comments: ** Comment from web user: brianlala **
Looks like you have some invalid or conflicting entries in your input XML. If you post a scrubbed version of the XML here, I or someone else can probably quickly validate it.
Brian