I have a issue with my powershell script to get all files in directory because it's contains an utf8 caracter
when i execute this command directly in powershell window : Test-Path -LiteralPath "G:\Drive partagés", it's ok
but when i do the same command in script.ps1, resultat is false
i don't know how manage utf8 inside my script
thx a lot in advance
i cannot change the name of directory... and i cannot update regestry... i tried to force encoding but doesn't work for test-path and get-childitem i tried to add defautencoding but doesn't work too