I want to write a script that when I run it, it toggles a Service on/off
ie so run it first time, it turns the service on, run it a second time it turns the service off. How would I go about this?
(I know I could just make 2 seperate script files but I wanted to know if its possible to combine them).
Thanks
ie so run it first time, it turns the service on, run it a second time it turns the service off. How would I go about this?
(I know I could just make 2 seperate script files but I wanted to know if its possible to combine them).
Thanks