Hello Community
I need your help with these, I try to install SharePoint with PowerShell but when run this command:
Install-SharePoint -SetupExePath D:\setup.exe -ConfigXmlPath C:\config.xml
the PowerShell send me this message:
Install-SharePoint : The variable cannot be validated because the value
C:\Users\SP_Admin\AppData\Local\Temp\config_2014_Aug_13_14_44_25.xml is not a valid value for the ConfigXmlPath variable.
At line:1 char:1
+ Install-SharePoint -SetupExePath D:\setup.exe -ConfigXmlPath C:\config.xml
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (:) [Install-SharePoint], ValidationMetadataException
+ FullyQualifiedErrorId : ValidateSetFailure,Install-SharePoint
I loaded the SPModules and run the set-executionpolicy remotesigned & unrestricted
This is the sequence to I run the commands:
$env:PSModulePath = $env:PSModulePath + ";c:\SPModule"Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy Unrestricted
Import-Module SPModule.misc
Import-Module SPModule.setup
Install-SharePoint -SetupExePath D:\setup.exe -ConfigXmlPath C:\config.xml
any help thank them enough, best regards...EP!!









