PowerTip: Use PowerShell to Unblock Files

Doctor Scripto

Summary: Use Windows PowerShell to unblock files downloaded from the Internet.

Hey, Scripting Guy! Question How can I use Windows PowerShell to unblock a script that I downloaded from the Scripting Guys Script Center Repository so that I can to use it?

Hey, Scripting Guy! Answer If you are sure you want to run the script, use the Unblock-File cmdlet:

Unblock-File -Path C:\fso\Register-FileToDelete.ps1

0 comments

Discussion is closed.

Feedback usabilla icon