In Windows PowerShell 5.1, you could pass a character array (char[]) to the Split() method as a string. The method splits the target string at any occurrence of a character in the array.