Set external OOF settings based on AD group membership

Exchange Server 2013Exchange Server 2016Description

This script sets the mailbox ExternalOofOptions to ‘External‘ for members of a given security group.

ExternalOofOptions for users that are NOT a member of the security group will be set to ‘InternalOnly‘. If required the script will set the ExternalAudience to None and will delete an existing OOF message.

Controlling the ExternalOofOptions and ExternalAudience settings have been implemented to follow dedicated company compliance rules.

This is the second of two scripts for the complete solution. Find the first script here.

Requirements

Examples

# EXAMPLE
# Run script with default settings
.\Set-ExternalOOF.ps1

Version History

  • 1.0, Initial community release

Links

Follow

%d Bloggern gefällt das: