SOLVED

Working with tenants in Powershell

Copper Contributor

Hello,

 

I want to start learning Powershell for Office 365,i have 2 questions...

 

 

1. How do you go about working within different tenants in powershell? Can you log into that tenant as an admin and continue business as usual?

 

It would seem commands like Get-MsolUser will display email addresses belonging to my company's domain. A couple of days ago i have found a command set that allowed me to list information belonging to the tenant of one of our customers,but it seems counter-intuitive to preface any instruction with additional cmdlets because you cannot work within the tenant itself.

 

 

2. Any tips or go-to sites that you would recommend to a complete begginer in powershell?

 

I have heard that the MCSoft course associated with O365 Administration is out of date in regards to most of its material. Where else can i go?

 

 

 

Thank you and apologies if this was posted in the wrong area or if it was already answered,i tried searching.

 

2 Replies
best response confirmed by Lexandrul (Copper Contributor)
Solution
Hi @Lexandrul

1.) You can log into multiple Office 365 Tenants with Powershell. For the full functionality you would need a set of Global Admin credentials of each tenant.


2.) Here are some resources for you

There should be lots of resources online including Books, Videos and Articles. There are courses on Pluralsight, YouTube, LinkedIn Learning, GitHub and others

https://github.com/PowerShell/PowerShell/tree/master/docs/learning-powershell
https://absolute-sharepoint.com/2018/03/resources-to-learn-powershell-for-office-365.html
https://www.pluralsight.com/courses/powershell-office-365
https://docs.microsoft.com/en-us/office365/enterprise/powershell/getting-started-with-office-365-pow...
https://www.linkedin.com/learning/microsoft-office-365-deployment/configure-powershell-for-office-36...
https://blog.udemy.com/powershell-tutorial/

Unfortunately, there is no certification in Powershell (many argue there should be), so it is a case of working with the existing materials out there.

Would also recommend user groups such as Powershell UG

https://twitter.com/powershell_ug

And Powershell.org

https://powershell.org/summit/

You would also find other user conferences around such as https://psday.uk/

Hope that helps to answer your questions!

Best, Chris

@Christopher HoardExcellent response! Thank you for your time! il be busy for a while.

1 best response

Accepted Solutions
best response confirmed by Lexandrul (Copper Contributor)
Solution
Hi @Lexandrul

1.) You can log into multiple Office 365 Tenants with Powershell. For the full functionality you would need a set of Global Admin credentials of each tenant.


2.) Here are some resources for you

There should be lots of resources online including Books, Videos and Articles. There are courses on Pluralsight, YouTube, LinkedIn Learning, GitHub and others

https://github.com/PowerShell/PowerShell/tree/master/docs/learning-powershell
https://absolute-sharepoint.com/2018/03/resources-to-learn-powershell-for-office-365.html
https://www.pluralsight.com/courses/powershell-office-365
https://docs.microsoft.com/en-us/office365/enterprise/powershell/getting-started-with-office-365-pow...
https://www.linkedin.com/learning/microsoft-office-365-deployment/configure-powershell-for-office-36...
https://blog.udemy.com/powershell-tutorial/

Unfortunately, there is no certification in Powershell (many argue there should be), so it is a case of working with the existing materials out there.

Would also recommend user groups such as Powershell UG

https://twitter.com/powershell_ug

And Powershell.org

https://powershell.org/summit/

You would also find other user conferences around such as https://psday.uk/

Hope that helps to answer your questions!

Best, Chris

View solution in original post