Tip: You can delete files and folders longer than 259 characters (long path).

I saw some people wasting a lot of time by map /unmap multiple drives to reduce length, delete the files manually, etc.
So I decided to explain that in an article in case you need to delete long path files.

Then, you have to unblock the file, otherwise, you will receive this eror : Import-Module : Could not load file or assembly ‘file:///C:\Demo\AlphaFS.2.0.1\lib\net451\AlphaFS.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Note: The EnumerateFiles and GetFiles methods differ as follows: When you use EnumerateFiles, you can start enumerating the collection of names before the whole collection is returned; when you use GetFiles, you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, EnumerateFiles can be more efficient.