I have been trying to match the "\" at the end of string and it comes up false
"Scripts\" -match '$\\' returns False
"Scripts\" -match "\Z\\" returns False
can someone tell me the right syntax for matching the "\" at the end of a string?
I am using powershell ise v2.0 on XP 32 bit.
thanks,
Ole.