Is it possible to turn a PowerShell script into a Windows Service?

Iron Contributor

Hi All,

 

Is there anyway I can turn a PowerShell script into a Windows Service that will start whenever a computer starts. First we need to turn the *.PS1 script into an *.exe app. It would be ideal if this can be done with windows products and not third party apps. 

 

I hope you can help
Colin

1 Reply

Hello @CEStar321,

Here you can find couple of options:

https://adamtheautomator.com/ps1-to-exe/

 

Hope that helps.