Open byteben opened 2 years ago
Awesome script, thank you!
When the script attempts to rename a file with illegal characters, Defender blocks it.
At Line: [System.IO.Path]::GetInvalidFileNameChars()
ForEach-Object : At C:\users\Bond\Downloads\mms.ps1:88 char:78
Uploaded a new file that replaces the method [System.IO.Path]::GetInvalidFileNameChars() with a static array of characters. Could you give it a try?
Thanks man, Defender isn't liking the File Rename at all still :)
Awesome script, thank you!
When the script attempts to rename a file with illegal characters, Defender blocks it.
At Line: [System.IO.Path]::GetInvalidFileNameChars()
ForEach-Object : At C:\users\Bond\Downloads\mms.ps1:88 char:78