Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Install SharePoint Server 2010 with PowerSehll

$
0
0

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!!


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>