Answered by:
Run powershell script on startup

Question
-
How to automatically run the Powershell script on startup?Thursday, August 4, 2016 6:29 AM
Answers
-
Hi Madhumitha,
either you setup a group policy, configuring a startup script (Somewhere in the ComputerNode). Or you setup a task that is triggered on startup.
If possible, I recommend using Group Policy.
Cheers,
FredThere's no place like 127.0.0.1
- Proposed as answer by Richard MuellerMVP Thursday, August 4, 2016 3:03 PM
- Marked as answer by Richard MuellerMVP Saturday, August 27, 2016 9:32 PM
Thursday, August 4, 2016 7:31 AM -
Task scheduler Trigger at startup Action > start a program > POwershell.exe > arguments > -ExecutionPolicy Bypass -File "C:\script.ps1"
GPO> computer configuration > windows settings> startup script > powershell
- Proposed as answer by Richard MuellerMVP Thursday, August 4, 2016 3:03 PM
- Marked as answer by Richard MuellerMVP Saturday, August 27, 2016 9:32 PM
Thursday, August 4, 2016 10:21 AM
All replies
-
Hi Madhumitha,
either you setup a group policy, configuring a startup script (Somewhere in the ComputerNode). Or you setup a task that is triggered on startup.
If possible, I recommend using Group Policy.
Cheers,
FredThere's no place like 127.0.0.1
- Proposed as answer by Richard MuellerMVP Thursday, August 4, 2016 3:03 PM
- Marked as answer by Richard MuellerMVP Saturday, August 27, 2016 9:32 PM
Thursday, August 4, 2016 7:31 AM -
Task scheduler Trigger at startup Action > start a program > POwershell.exe > arguments > -ExecutionPolicy Bypass -File "C:\script.ps1"
GPO> computer configuration > windows settings> startup script > powershell
- Proposed as answer by Richard MuellerMVP Thursday, August 4, 2016 3:03 PM
- Marked as answer by Richard MuellerMVP Saturday, August 27, 2016 9:32 PM
Thursday, August 4, 2016 10:21 AM