News

To do this, use the Unblock-File command in PowerShell, followed by the path to the PowerShell script we just created. For example: Unblock-File "C:\Users\joaoc\Documents\RunWindowsUpdate.ps1" ...
PowerShell offers a built-in command — Unblock-File — to change the unblock status of PowerShell script files that were downloaded from the Internet, but it works on all kinds of files.
To unblock a PowerShell script, you can run the first command for a single file and the second command below for multiple files. Unblock-File -Path C:\Users\User01\Documents\Downloads\ ...