TechShizz | All posts tagged 'Exchange 2010'

Resource Mailboxes

To create a Room Mailbox

 

New-Mailbox –UserPrincipalName conference-beta@adatum.com –Alias conference-beta –Name

Conference-Beta –Database MBX-DB-ONE –OrganizationalUnit Users -Room

 

To create a Equipment Mailbox

 

New-Mailbox –UserPrincipalName video-camera@adatum.com –Alias video-camera –Name videocamera

–Database MBX-DB-ONE –OrganizationalUnit Users -Equipment

 

 

Resource Policies

 

An In-Policy is a policy that applies to the scope selected. The in-policy determines which users will be subject to approval by the resource delegate.

 

 

To set a deligate via EMS:

 

Set-CalendarProcessing Auditorium –ResourceDelegates "Kim_Akers@adatum.com"

–ForwardRequestsToDelegates $true

 

Configuring Automatic Booking

 

If the room needs to be configured so that no delegate is required, you must enable automatic booking.

To enable via EMS:

 

Set-CalendarProcessing Conference-Alpha –AutomateProcessing AutoAccept


Configuring Exchange Mailboxes

To configure a proxy address via EMS: (Add an SMTP Address)

 

$Temp = Get-Mailbox –Identity "Brian Perry"

$Temp.EmailAddresses += ("smtp:sales@adatum.com")

Set-Mailbox –Identity "Brian Perry" –EmailAddresses $Temp.EmailAddresses

 

Enabling/Disabling Client Access Protocols

 

Set-CASMailbox "Don Hall" –POPEnabled $false –ImapEnabled $false –OWAEnabled $false

 

Mailbox Delegation

 

The send as permission and full mailbox permission can be controlled from EMS and the GUI:

 

Send as

Add-ADPermission "Don Hall" –User "adatum\kim_akers" –Extendedrights "Send As"

 

Full control

Add-MailboxPermission –Identity "Oleg Anashkin" –User "adatum\Kim_Akers" –AccessRights

Fullaccess –InheritenceType all

 

 

Forwarding

 

Can be configured from EMS also:

 

Set-Mailbox –Identity "Don Hall" –ForwardingAddress "kim_akers@adatum.com"

–DeliverToMailboxAndForward $true

 

Turn on Out of Office (OOO)

 

Set-Mailbox "Kim Akers" –ExternalOofOptions InternalOnly

Creating & Configuring Mailboxes

Creating

 

Simple - Right click Mailboxes under Recipients and click new mailbox.

 

PowerShell

 

New-MailboxDatabase -Name "MyMailboxDatabase" –Server VAN-EX1 –EdbFilePath C:\MyDatabaseFiles\MyMailboxDatabase.edb -LogFolderPath D:\MyDatabaseFiles\ LogFolder

 

 

Configuring

 

The GUI is self explanatory, but EMS commands exist to configure the Database.

 

Settings Limits

 

Setting deleted items retention:

 

Set-MailboxDatabase -Identity "MyMailboxDatabase" -DeletedItemRetention 14.00:00:00

 

Setting maintenance schedule:

 

Set-MailboxDatabase -Identity "MyMailboxDatabase" -MaintenanceSchedule "Sun.10:30 PMMon.1:30 AM" 


Move Excahnge Database

Simple GUI - 

 

From Organization Configuration > Right click DB under DB management and click "Move Database Path"

 

For the EMS command its:

 

Move-DatabasePath -Identity MyMailboxDatabase -EdbFilePath C:\DifferentFolder\ MyMailboxDatabase.edb



Configuring Out of Office via PowerShell

OUT OF OFFICE

Set-MailboxAutoReplyConfiguration Bobjones -AutoReplyState enabled -ExternalAudience all -InternalMessage "I am out of the office until Thursday 14th August 2014. I will reply on my return but if your query is urgent please contact the office on 0800 134567." -ExternalMessage "I am out of the office until Thursday 14th August 2014. I will reply on my return but if your query is urgent please contact the office on 0800 134567."


To Disable



Set-MailboxAutoReplyConfiguration “User1” -AutoReplyState disabled