I ran into an error this morning with the script related to the User Profile Service Application setup.
I am building a test virtual machine. I have Windows Server 2008 R2 Standard with SQL 2008 R2 Enterprise installed. This machine is not part of a domain... it will just be a stand alone environment.
The error I receive is:
Start-Process : This command cannot be executed due to the error: The directory
name is invalid.
+ Start-Process <<<< $PSHOME\powershell.exe -Credential $FarmCredentia
l -ArgumentList "-Command Start-Process $PSHOME\powershell.exe -ArgumentList `"
'$ScriptFile'`" -Verb Runas" -Wait
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOp
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.C
Any thoughts? There doesn't seem to be a way to skip past the error because the script loops back if the User Profile Service is not started.
Is there a simple way in the config to block the configuration of the User Profile Service since this is not a domain install?