I just posted Check Win32 Service Start Type and I think it might help you. :-)
You'll need to modify it a little to work with remote servers. Most of what you will need to do is as follows:
Remove the delimiter argument*, change all forward slashes to double backslashes and then change the line that defines $services to add $machine\\ before HKEY_LOCAL_MACHINE.
* rather than rewrite portions of your existing script...
In reply to Re: Re: Re: Remote NT services
by Mr. Muskrat
in thread Remote NT services
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |