retriving bookings from a room booking accoung in O365 Office 365

  • Thread starter Thread starter robMerritt
  • Start date Start date
R

robMerritt

Guest
I have a script below that gets _CALENDAR_ events for a user , I am trying to adapt it for a O365 room account to list all the room bookings can I do that wit poweshell

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection


Import-PSSession $Session -DisableNameChecking

Get-MailboxCalendarFolder -Identity BoardRoom@DOMAIN.com :\Calendar

Remove-PSSession $Session

Continue reading...
 
Back
Top