Last active
January 10, 2022 12:04
-
-
Save jhochwald/a2802967e56df9f2fa3fd5e450af90ec to your computer and use it in GitHub Desktop.
Disable iFrames on Outlook Web Access to enhance the security a bit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Disable iFrames on Outlook Web Access | |
| .DESCRIPTION | |
| Disable iFrames on Outlook Web Access to enhance the security a bit. | |
| #> | |
| Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -WebPartsFrameOptionsType None | |
| Get-OwaVirtualDirectory | Set-owavirtualdirectory -WebPartsFrameOptionsType None | |
| # Check it | |
| Get-OwaVirtualDirectory | Format-List -Property WebPartsFrameOptionsType |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment