foreach ($v in [System.Enum]::GetValues([Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding])) { write-host "$v $($v.value__)" }
Unknown | 0 | |
String | 1 | Same as Unicode |
Unicode | 2 | |
Byte | 3 | |
BigEndianUnicode | 4 | |
UTF8 | 5 | |
UTF7 | 6 | |
UTF32 | 7 | |
Ascii | 8 | 7-bit character set |
Default | 9 | Use encoding of systems's active code page (usually ANSI). |
Oem | 10 | Use encoding of system's current OEM code page. |
BigEndianUTF32 | 11 |