I have written a program in PowerShell that loops and checks stuff. I would like to convert this into a Windows service. I\'ve created a Windows service (in Admin->Services)
There are a few items at issue here:
If you can't use the scheduler (though I strongly encourage you to try), I suppose that you could write an executable binary that acts as a service. It would then execute PowerShell and your script on your behalf. I'm thinking something like the srvany program that used to be included with the Windows Server 2003 Resource Kit could bootstrap the service for you.