Please enable JavaScript to view this site.

Invantive Estate

Microsoft Exchange 2007

Onder Microsoft Exchange 2007 kan dit ook meer centraal als volgt:

Maak een script lijkend op deze code:

#

# Maintain equipment and rooms.

#

$rooms = @( ("fails","for some reason")

         , ("room development", "Guido Leenders")

         , ("room finance & sales", "Guido Leenders")

         , ("ws09", "Guido Leenders")

         , ("ws25", "Guido Leenders")

         , ("ws69", "Guido Leenders")

         )

 

foreach ($room in $rooms)

{

#

# The next two are only for resources.

#

# Set-MailboxCalendarSettings -Identity $room[0] -AutomateProcessing AutoAccept -AllRequestInPolicy:$True -AllBookInPolicy:$False -ResourceDelegates $room[1] -RemovePrivateProperty:$False

# Add-ADPermission -Identity $room[0] -User $room[1] -ExtendedRights Send-As

Add-MailboxPermission -AccessRights FullAccess -Identity $room[0] -User $room[1] }

 

echo "Check http://extranet.XXX.com/owa/ROOM@XXX.com"

Voer het uit.