October 19th, 2013

PowerTip: Use PowerShell to Unblock Files

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.