Script dumpster: Get-AutoStartService

The Problem

A frequent issue on servers is when services that are supposed to start simply haven’t started.

There’s a simple one-liner that can show you the services that meet these requirements for you:

Want to directly start up these services? Not a problem!

The Function

I prefer to make my solutions re-usable because well.. I’m lazy.

In case you have the same feeling, here’s the function I’ve created for this with some added functionality.


If you have any questions about the function, pieces of code used or perhaps tips [if you have any, please do share!!], let me know and leave a comment.

Happy scripting! 🙂




It never hurts to Get-Help

One thought to “Script dumpster: Get-AutoStartService”

Leave a Reply

Your email address will not be published. Required fields are marked *