Summary: Use Windows PowerShell to display illegal characters for a file name.
How can I use Windows PowerShell to easily obtain a list of characters that are not permitted in file names?
Use the GetInvalidFileNameChars static method from the System.IO.Path .NET Framework class:
[System.IO.Path]::GetInvalidFileNameChars()