diff --git a/Fix-OutlookUnblockAttachmentTypes.ps1 b/Fix-OutlookUnblockAttachmentTypes.ps1 new file mode 100644 index 0000000..ce6c955 --- /dev/null +++ b/Fix-OutlookUnblockAttachmentTypes.ps1 @@ -0,0 +1,4 @@ +# Note: $FileTypes must be set by the calling script + +# Unblock attachment types +[Microsoft.Win32.Registry]::SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Security","Level1Remove","${FileTypes}",[Microsoft.Win32.RegistryValueKind]::String)