I'm creating a basic GUI for internal staff to share calenders on behalf of other users.
I currently have a button click to get the permissions of the calendar. How would I update the textbox called 'calendarGetOutput?'
$User = $inputCalendarGet.Text
$CalendarGet = Get-MailboxFolderPermission -Identity ${user}:\Calendar
$calendarGetOutput.text = ???

$calendarGetOutput.Text = ($CalendarGet | Select-Object User, AccessRights | Format-Table -AutoSize | Out-String)perhaps?$true