Forum Discussion
luanoprz
Jun 24, 2023Copper Contributor
PowerShell Exchange Online
Hello, I want to read the permissions of a mailbox with PowerShell. However, I would like to have read only the UPN. how do i get that?
- DeletedJun 25, 2023
use Get-MailboxPermission -Identity abc@xyz |ft identity,user
by pipline the result you will get only what you need.
If I have answered your question, please mark your post as Solved
If you like my response, please give it a Like
Appreciate your Kudos! Proud to contribute! 🙂
- Deleted
Hi luanoprz
I can't get your point if you want to get permission with powershell. just use Get-mailboxpermission
If I have answered your question, please mark your post as Solved
If you like my response, please give it a Like
Appreciate your Kudos! Proud to contribute! 🙂
- luanoprzCopper Contributor
Hi Deleted
I just want to have the value from the User column (that's the UPN). I need these values in a variable to write them to a SharePoint list
- Deleted
use Get-MailboxPermission -Identity abc@xyz |ft identity,user
by pipline the result you will get only what you need.
If I have answered your question, please mark your post as Solved
If you like my response, please give it a Like
Appreciate your Kudos! Proud to contribute! 🙂