PowerTip: Use PowerShell to Unblock Files

PowerTip: Use PowerShell to Unblock Files

  • Comments 1
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Works like charm in V3 and V4