That's actually the problem. What I'm trying to do is have the script prompt for creds and use those to check the service. I was already able to get the credentials into a variable to use later, but using it to check the service is proving to be quite the challenge. I don't think there's a -credential option for Get-Service is there?
↧