Getting ComputerName(s) like string

Hi I’m new to PowerShell and wanted to know if you can get the computer names from the network where the computer names you are looking to get data on begin with AJE1010.

All of the computer names are 11 characters in length but I’m only interested in the computers that begin with “AJE1010” can I do this using the Get-Service -ComputerName and rather than use a string of computer names separated by comma’s use a line statement?

Regards
Alan

Alan,

is this question related to your other question here in the forum?

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.