|
Powershell Operator hi,
I need to do some string comparison but the below script doesnt seem to
return true
$version = "Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
$check = "Microsoft(R) Windows(R) Server 2003*"
I am checking if the $Check exists in $Version
$Version -match $check
Returns False. Should it return true. Using -Like works dont know why ? |