Asked by:
Powershell To Return all site collections

Question
-
To Return all site collections where a user is equal to johndoe@sample.com. Thank you for your help.Wednesday, November 7, 2018 2:58 AM
All replies
-
We do not provide custom scripts. You must psot your script and a specific question about scripting.
Please carefully review the following links to set your expectation for posting in technical forums.
This Forum is for Scripting Questions Rather than script requests
- Script Gallery.
- Forum for Script requests
- Posting guidelines
- Handy tips for posting to this forum
- How to ask questions in a technical forum
- Rubber duck problem solving
- How to write a bad forum post
- Help Vampires: A Spotter's Guide
- This forum is for scripting questions rather than script requests
\_(ツ)_/
Wednesday, November 7, 2018 3:28 AM -
Hi,
Thanks for your question.
I think "Get-SPOSite" and "Get-SPOUser" cmdlets can help you get what you want.
Follow the link below:
Best Regards,
Just do it.
- Proposed as answer by LeeSeenLiMicrosoft contingent staff Tuesday, November 27, 2018 2:21 AM
Thursday, November 8, 2018 6:26 AM -
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
Lee
Just do it.
Tuesday, November 27, 2018 2:21 AM -
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
Lee
Just do it.
Tuesday, December 4, 2018 2:38 AM