Sql Path Utilities. Encode Sql Name(String) Method
Encodes the string into a URL encoded string. Note that we encode ':'. This is a known bug in PowerShell 1.0 that you cannot cd into a location that has a ':'. We need to receive the '' escaped as we do not know whether it is a path separator or a part of a name (which is a legal id character in SQL).
public static string EncodeSqlName (string name);
static member EncodeSqlName : string -> string
Public Shared Function EncodeSqlName (name As String) As String