Skip to content

Instantly share code, notes, and snippets.

@newlyregistered26
Last active November 30, 2016 04:26
Show Gist options
  • Select an option

  • Save newlyregistered26/da5e558a400dd39025285188f48b2d09 to your computer and use it in GitHub Desktop.

Select an option

Save newlyregistered26/da5e558a400dd39025285188f48b2d09 to your computer and use it in GitHub Desktop.
cd "C:\Program Files (x86)\CPM Agent\scripts\cpm_user_id\"
%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -command "&{set-executionpolicy unrestricted}"
%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -command "&{.\CPM_start_services.ps1; exit $LastExitCode}"
@echo From Cmd.exe: startservices.ps1 exited with exit code %errorlevel%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment