PowerShell script as a Windows Service – Possible?

by Jul 23, 2015

Hi,

I wanted to have a script which once started did something for an infinite period of time and I have it now.

What I want to do now is make it work like an Windows Service so that it bootstraps after a system restart/start. The service should allow itself to be turned off and turned on from the MSC.

Is this possible? To list the powershell script in the Service Console.