Skip to main content

Description

Many settings for Microsoft Office 365 resources are managed through PowerShell. Follow the steps below to install and set PowerShell settings.

 

Prerequisites

  • You must be an Office 365 administrator to adjust these settings.

 

Steps

Installing Microsoft Exchange into PowerShell

The following processes will only need to occur once for your device.

  1. Download PowerShell from the Microsoft Store.
  2. Open the PowerShell installer and confirm you allow the program to make changes to your device.
  3. Once complete, this will likely automatically open PowerShell. To ensure you're using it as an administrator, close the program, right-click the program application, and select Run as Administrator.
  4. To install the Microsoft Exchange module, paste in Install-Module ExchangeOnlineManagement and press the enter key.
    • If this results in an error, paste in Import-Module ExchangeOnlineManagement and press the enter key.
    • The install option should work with the most recent V3 version of Exchange.
  5. Once it loads, the system will ask if you would like to install the modules from PSGallery, to which you will type Y (to respond with yes) and press the enter key. 

     

Note: If in the future, you would like to set PSGallery to be a trusted repository, you can send the commandlet (cmdlet): Set-PSRepository -Name “PSGallery” -InstallationPolicy Trusted and press the enter key.

 

Accessing Microsoft Exchange in PowerShell

The following process will need to be run each time you need to use PowerShell to access Exchange.

  1. Paste in Connect-ExchangeOnline -UserPrincipalName {OutlookEmail}, and press the enter key. This will generate the Microsoft user login pop-up where you can input your Outlook password and select sign in.

 

Helpful Cmdlets for Adjusting Resources within Appspace

This format is how you adjust the true/false settings: Set-CalendarProcessing -Identity "{room email}" -Setting $false (Insert the Microsoft resource email in place of RoomEmail and the specific setting under Setting). After each cmdlet, press the enter key to apply changes.

  1. Get-CalendarProcessing -Identity "RoomEmail" | Format-List
    1. This allows you to see many current settings for the resource.
  2. Set-CalendarProcessing -Identity "RoomEmail" -DeleteComments $false
    • What it prevents:
      • The meeting details are removed in the Outlook event when any action is performed on the event from Appspace, such as a check-in or update event.
      • The conference link is removed in both the Outlook event and Appspace when any action is performed on the event from Appspace, such as check-in or update event.
  3. Set-CalendarProcessing -Identity "RoomEmail" -RemovePrivateProperty $false
    • When the PrivateProperty setting is set to true, and you create a private event within Appspace on a provider resource, the event is changed back to public after 1–2 minutes.
  4. Set-CalendarProcessing -Identity "RoomEmail" -DeleteSubject $false AND Set-CalendarProcessing -Identity "RoomEmail" -AddOrganizerToSubject $false
    • When the DeleteSubject setting is true and AddOrganizerToSubject is false, the event title is changed to the default title in Appspace after 1–2 minutes
    • When the DeleteSubject setting is true and AddOrganizerToSubject is true, the event title is changed to the organizer name in Appspace after 1–2 minutes.
    • When the DeleteSubject setting is false and AddOrganizerToSubject is true, the event title is changed to the original event title with the prefix as the organizer name in Appspace after 1 ~ 2 minutes (e.g.: Michael Jordan Board Meeting).
  5. Set-CalendarProcessing -Identity "RoomEmail" -BookingWindowInDays 180
    • This setting allows you to adjust the period in which a user can create a reservation (in days) from the date of reservation.
  6. Set-CalendarProcessing -Identity "RoomEmail" -ResourceDelegates “OutlookEmail”
    • This setting allows you to assign a delegate to the resource. This means that approvals or denials that are set up within Outlook for room reservations will need to be approved or denied by the delegate before being a confirmed booking.

 

You can see further settings on Microsoft’s website: Set-CalendarProcessing.

 
 
 
Be the first to reply!