blog.icewolf.ch

Let's talk about IT!
posts - 590, comments - 86, trackbacks - 0

Exchange 2007 working with Templates

Hallo zusammen,

Bei Exchange 2007 kann man beim Anlegen von Mailboxen mit Templates arbeiten.

Ich lege ein Template User an, bei dem ich POP3 deaktiviere

$Password = ConvertTo-SecureString Pass@word1 -AsPlainText -Force
New-Mailbox -Name Template01 -Database MBDB_ICE02 -UserPrincipalName template@icewolf.ch -Password $Password
Set-CASMailbox -Identity Template01 -PopEnabled $false

Auf dem Template User ist POP3 nun also deaktiviert.

Nun lege ich einen neuen User an und gebe den Template User als Vorlage an.

$Template = Get-Mailbox Template01
$Password = ConvertTo-SecureString Pass@word1 -AsPlainText -Force
New-Mailbox -Name "Bart Simpson" -Database MBDB_ICE02 -UserPrincipalName b.simpson@icewolf.ch -Password $Password -TemplateInstance $Template

Et voila, auch beim neuen User ist POP3 deaktivert.

Leider geht das bei Exchange 2010 nicht mehr, weil der Parameter "-TemplateInstance" nicht mehr existiert.

http://technet.microsoft.com/de-de/library/aa997663.aspx

GrĂ¼sse
Andres Bohren

Print | posted on Thursday, August 19, 2010 11:24 PM | Filed Under [ Exchange ]

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 1 and 7 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET