-
-
Save hermesthecat/a2385fc365fa857620fa607dd4ddbab2 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