none
Run powershell script on startup RRS feed

  • 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,
    Fred


    There's no place like 127.0.0.1

    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

     
    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,
    Fred


    There's no place like 127.0.0.1

    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

     
    Thursday, August 4, 2016 10:21 AM