

Import-PSSession $Session –DisableNameCheckingĥ. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Cred -Authentication Basic –AllowRedirection Create a session using the following command, modifying –ConnectionUri parameter based on your Exchange Online location: Type your user ID and password in the Windows PowerShell Credential Request and click OK.ģ. Connect to Office 365 PowerShell, run the PowerShell ISE as Administrator and execute the following command:Ģ.

Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited |

You can find and list shared mailboxes using the Exchange Powershell cmdlet Get-Mailbox by passing the input “SharedMailbox” for the parameter -RecipientTypeDetails. Reference post: Add or remove members from a shared mailbox. Actually shared mailbox do not have members, but nowadays Microsoft itself calls users as members who have been granted Full Access permission to the shared mailbox. \\server\C\Users\Administrator), otherwise you need to create a share first. With an admin account you could use the administrative shares (e.g. In the following examples, let’s assume that folder is located at C:\Share. For SMB/CIFS access (via UNC paths) that access point is a shared folder, so you need a path \\server\share or \\server\share\path\to\subfolder. Create an empty folder called Share somewhere on your filesystem. To begin, open a PowerShell session as Administrator. The commands used in this post specifically tested in Exchange Online, however it should work for Exchange On-Premises (Exchange 20) as well. You’ll learn how work with NTFS permissions in PowerShell from the ground up no extra work needed on your part. In this post, I am going to share Powershell commands to get shared mailboxes and find users who have permissions (Full Access or Send as) in the shared mailboxes.
