cancel
Showing results for 
Search instead for 
Did you mean: 

EV 11 Office Mail App: Deploying to AD Security Group

InsentraCameron
Level 4
Partner Accredited Certified

Hello,

In the Setting up Exchange Server Archiving guide for EV11 there are examples for deploying Office Mail App to individual users, OUs and the Whole Exchange Organization.

What would the script look like to deploy Office Mail App to an AD security group?

Cheers

Cameron

1 ACCEPTED SOLUTION

Accepted Solutions

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

i cant test right now but something like this could work. replace "group name" with the name of the security enabled distribution group and replace EV_server with the name of any EV server in your site:

Get-DistributionGroupMember “Group Name” | get-mailbox | foreach-Object {

New-App -mailbox $_.LegacyExchangeDN -Url `
("http://EV_server/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" +
$_.LegacyExchangeDN)

}

hope this gets you close enough

View solution in original post

4 REPLIES 4

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

i suppose you'd have to use powershell to query the AD group for it's members and then pipe it to the get-mailbox 

InsentraCameron
Level 4
Partner Accredited Certified

Thanks AndrewB. That is my thought as well.

Unfortunately I don't know PowerShell well enough to do so.

Cameron

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

i cant test right now but something like this could work. replace "group name" with the name of the security enabled distribution group and replace EV_server with the name of any EV server in your site:

Get-DistributionGroupMember “Group Name” | get-mailbox | foreach-Object {

New-App -mailbox $_.LegacyExchangeDN -Url `
("http://EV_server/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" +
$_.LegacyExchangeDN)

}

hope this gets you close enough

InsentraCameron
Level 4
Partner Accredited Certified

Thanks Andrew,

I will give it a go!