compare strings in powershell code example
Example: comparing strings in powershell
$name = "Curt"
$anotherName = "Alicia"
echo ($name -eq $anotherName) # Equal (false)
echo ($name -lt $anotherName) # Less Than (false)
echo ($name -gt $anotherName) # Great Than (true)