Olaf
April 11, 2022, 12:59pm
2
Alan,
is this question related to your other question here in the forum?
Hi, I’m pretty new to PowerShell so please excuse me if my question doesn’t make sense.
We have a large number of pc’s on our network there are hundreds of them. The Pc’s have computer names that are in the following format AJE08860007.
Where the first 4 digits (in this case 0886) identify the site the computers are situated in and the last four digits (0007 in this case) is the computer identification number.
What I need to be able to do is check if 2 services are running on the computers.…
If your question is if the parameter -ComputerName of the cmdlet Get-Service accepts wildcard characters - the answer is - according to the available documentation - No .
The Get-Service cmdlet gets objects that represent the services on a local computer or on a remote computer, including running and stopped services. By default, when Get-Service is run without parameters, all the local computer's services are...