Original Webpage: https://devblogs.microsoft.com/scripting/powertip-use-powershell-to-unblock-files-in-folder/


To unblock multiple files in a folder with or without subfolders:


Use the Get-ChildItem cmdlet to return a list of all files in your modules directory, and pipe them to

           the Unblock-File cmdlet, for example:

_________________________________________________________________


Get-ChildItem -Path 'C:\Program Files\WindowsPowerShell\Modules\' -Recurse | Unblock-File


I successfully did this on P:\ppart\files folder where the IT department unzipped the files folder and the files were "blocked" causing the error, "Problem with path" or something like it.


Get-ChildItem -Path 'P:\ppart\files' -Recurse | Unblock-File