[Ps1] unblock all files in a folder
Every time that you download a file, or when you copy it to a server, it appears in the properties as "blocked":
/image%2F0881799%2F20250220%2Fob_bdcf04_flie-blocked.png)
For a single file, simply check the "Unblock" box.
But if there are more than 10 files...
Then we use this powershell command:
| Get-ChildItem -path "<folder that contain files>" -recurse | foreach{Unblock-File -Path $_.FullName} |
That's all folks!
/image%2F0881799%2F20140610%2Fob_a8c7fe_logo2.jpg)
Commenter cet article