I have a folder which freezes the whole system when I open it (probably there is a corrupted file). Luckily, I'm just interested in the names of the files in the folder.
So, how do I create a dirlist.txt from a folder in Powershell and at the same time not save it in the folder itself? Because if I do that, I won't be able to reach the dirlist. Thanks a lot!