Last active
December 20, 2015 02:59
-
-
Save MaxMelcher/6060649 to your computer and use it in GitHub Desktop.
SharePoint Solution Deployer with Powershell version 2 but installed is version 3 (SP2010 does not like that)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOTO LAUNCHSCRIPT | |
:LAUNCHSCRIPT | |
"%SYSTEMROOT%\system32\windowspowershell\v1.0\powershell.exe -Version 2 -NoExit" -Command Start-Process "$PSHOME\powershell.exe -Version 2 -NoExit" -Verb RunAs -ArgumentList "'%~dp0\Scripts\SPSD_Main.ps1 -Command %command% -Type %type% -Verbosity %verbosity% %saveEnvXml%'" | |
ENDLOCAL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment