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

DCOM received error "2147746132" from...

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B

DFSR RPC replication errors 5014 1726 with large files over VPN