How can we help?
< All Topics
Print

Microsoft has blocked macros from running

With recent Microsoft Office updates, you may get the following message.

Depending on your system and network security settings, you may be able to just right-click, select Properties and “Unblock” the file.

 

To Unblock one file with PowerShell if the “Unblock” option is not available under Properties

unblock-file -path "full path of blocked file"

 

To Unblock all files in a folder using PowerShell

get-childitem "full path of folder" | unblock-file
Categories
Table of Contents