Does the -computername parameter allow wild cards?

Quick easy question i’m hoping.

For example, if i wanted to run something like the following, it does not do what i expect it to, which would be apply the command to every computer name that has “OCPC” in the name.

set-service bits -startup automatic -computername OCPC

Is there any way to do this? Any advice is appreciated.

EDIT: for some reason putting asterisks around OCPC made it italicised…just know that i’m putting asterisks around OCPC in an effort to wildcard it.

submitted by /u/Nickachu92
[link] [comments]

Leave a Reply