Match wildcard


hi,

i have difficulties reg expression.

'office 2013 v1 -basic' -match in dos, 'office 2013 v?' , match 'office 2013 v1', 'office 2013 v2' , on not 'office 2013 v1 -basic'

or

'office 2013 v1' -match ... in dos, 'office 2013 v? -basic'

then match 'office 2013 v1 -basic, 'office 2013 v2 -basic , on not 'office 2013 v1'

how may realize match powershell?

thanks,

"office2013_v2 - basis" -match "^office2013_v[2-9] - basis$"
insert ^ @ beginning and $ @ end.


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...