calendar

Extending the Booking days for Conference Room Calendar (Resource)

By default Office365 limits Resource booking days to just 180 days. The maximum days it can be booked for 1080 days.

I like to make resource booking days 1 year from the day of making the reservation/ appointment. Now instead of visiting each calendar and making the change, powershell can help us out.

Happy Booking!

Outlook: Removing Copy from all the Calendar entries after importing from PST

This article applies to Outlook 2007 and 2010. If you are experiencing this issue with other mail clients, please contact Support.

The “Copy” prefix is usually added to calendar items when items are imported from a PST file or copied from another calendar.

To avoid this happening move items to the calendar instead of importing:

  1. Open Outlook.
  2. Open the .PST file (one that was imported) as an Outlook Data File.
    File > Open > Outlook Data File (.pst)
  3. Switch to Calendar view and check the boxes next to both calendars to view them side by side.
  4. Right-click and drag the item from the pst file calendar to your current mailbox calendar and select “Move” from the menu.
  5. Repeat for every similar item.

To get rid of this “Copy” prefix, you can copy the script that is provided below and run it in Outlook. The script will remove the prefix however you could be still unable to edit the calendar items. To run the script that will remove the “Copy” prefix:

  1. In Outlook, select the Calendar.
  2. Press Alt+F11 to open the VBA editor.
  3. Expand Project1, then double-click on ThisOutlookSession to open the code window.
  4. Copy the code below and paste it into the code window, then Save.
  5. Click the Run button.
 

Set a Room Mailbox to Show Details of a Meeting in its Calendar

You may notice that meetings with a ‘Room’ mailbox will by default only show a “Busy” status.
Many, including the organisation I work for, wish to have (at the very minimum) the following displayed in the Room’s calendar:

  • Organiser of the meeting, and
  • The subject of the meeting

Below I will demonstrate how to set the permissions so that all meetings (except those explicitly marked as ‘Private’) publicise the above details to all who view its calendar.

  1. First make sure you have the remote signed execution policy set to true. You can do this by running PowerShell in admin mode and running: Set-ExecutionPolicy RemoteSigned
  2. Next, run the following to authenticate your self and import PowerShell commands to your local session:
    $LiveCred = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange-ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
    Import-PSSession $Session

Set the Room calendar to show ‘limited details’ by default

We will do this using the Set-MailboxFolderPermission command. Click the link to see the full list of parameters you can pass in to the command. We will be using ‘limited details’ for the AccessRights variable.

Set-MailboxFolderPermission -AccessRights LimitedDetails -Identity Room:\calendar -User default

Set the Room calendar to show the ‘Organiser’ and ‘Subject’ of the meeting

We will do this using the Set-CalendarProcessing command. Click the link to see the full list of parameters you can pass in to the command.

Set-CalendarProcessing -Identity testroom -AddOrganizerToSubject $true -DeleteComments $false -DeleteSubject $false