Powershell command to get a report of a specific shared mailbox

%3CLINGO-SUB%20id%3D%22lingo-sub-1541472%22%20slang%3D%22en-US%22%3EPowershell%20command%20to%20get%20a%20report%20of%20a%20specific%20shared%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1541472%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Arslan11_0-1595519971011.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F207459i325D387750A73413%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Arslan11_0-1595519971011.png%22%20alt%3D%22Arslan11_0-1595519971011.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20connecting%20to%20Exchange%20online%20powershell%20module%2C%20and%20I%20need%20assistance%20with%20one%20thing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20got%20shared%20mailbox%20on%20exchange%20online%20called%20%22Customer%20Service%20-%20Network%20Homes%22%20and%20email%20address%20of%20the%20mailbox%20is%20%22%3CA%20href%3D%22mailto%3ACustomerService%40networkhomes.org.uk%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECustomerService%40networkhomes.org.uk%22%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20a%20powershell%20script%2C%20which%20will%20show%20you%20who%20has%20got%20send%20as%20permission%20to%20the%20shared%20mailbox.%26nbsp%3B%20I%20want%20to%20pull%20out%20the%20information%20from%20the%20script%20instead%20of%20looking%20at%20the%20console.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1541472%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1541840%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20command%20to%20get%20a%20report%20of%20a%20specific%20shared%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1541840%22%20slang%3D%22en-US%22%3Esimple%20cmdlet%20like%20one%20below%20should%20do%20it%3CBR%20%2F%3EGet-RecipientPermission%20-Identity%20%22CustomerService%40networkhomes.org.uk%22%20%7C%20Out-File%20c%3A%2Ftemp%2Ffilename.txt%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1541996%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20command%20to%20get%20a%20report%20of%20a%20specific%20shared%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1541996%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F333418%22%20target%3D%22_blank%22%3E%40DeepakRandhawa%3C%2FA%3E%26nbsp%3B%20worked%2C%20do%20you%20know%2C%20who%20is%20best%20at%20backup%20questions%20on%20azure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20put%20a%20post%20for%20azure%20backups%20mars%20but%20I%20had%20no%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELink%20to%20the%20post%2C%2052%20views%20but%20no%20input%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure%2Fmars-backup-system-state-backup-failing%2Fm-p%2F1532904%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure%2Fmars-backup-system-state-backup-failing%2Fm-p%2F1532904%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Arslan11_0-1595519971011.png

 

I am connecting to Exchange online powershell module, and I need assistance with one thing.

 

I have got a shared mailbox on exchange online called "Customer Service - Network Homes" and email address of the mailbox is "CustomerService@networkhomes.org.uk".

 

I need a powershell script, which will show you who has got send as permission to the shared mailbox.  I want to pull out the information from the script instead of looking at the console. 

 

 

 

 

2 Replies
Highlighted
simple cmdlet like one below should do it
Get-RecipientPermission -Identity "CustomerService@networkhomes.org.uk" | Out-File c:/temp/filename.txt
Highlighted

@DeepakRandhawa  worked, do you know, who is best at backup questions on azure.

 

I put a post for azure backups mars but I had no response.

 

Link to the post, 52 views but no input

https://techcommunity.microsoft.com/t5/azure/mars-backup-system-state-backup-failing/m-p/1532904