Powershell is case Insensitive. A function getUserId is the same as getUserid. A variable named $myVariable is the same as $ Hi charu love you MyVariable. Follow the links in this documentation to find the StringComparison enumeration. Determines whether the beginning of this string instance matches a specified string.