Read time 3 min
This article is about the PowerShell cmdlets that can be used in Office 365 to manage user accounts and perform many other actions.
Office 365 users can run PowerShell cmdlets by downloading the Microsoft Online Service Sign-in Assistant for IT Professionals RTW and installing it on your system (64-bit version recommended). Now that this service is successfully installed on your system, you need to download and install Windows Azure Active Directory Module for PowerShell on your system.
Launch the installed Windows Azure Active Directory Module for PowerShell and then run these commands to connect your Office 365 account.
Now, you will be asked to enter the Office 365 account credentials. Enter them to finally connect to Office 365.
After this connection, you can manage many Office 365 functions related to users, groups, sites, passwords, etc. Though you can manage many tasks using Office 365 admin center, PowerShell is considered as a more professional and comprehensive way to manage Office 365 tasks. Let us see a few actions that can be managed with Office 365 PowerShell.
Note: It restores the user mailbox up to 30 days after the deletion (the default retention period). After this period, the mailbox gets deleted permanently.
For more information, get standard details on Office 365 PowerShell.
Another important task that you can carry out in PowerShell with Office 365 is the automatic setting of passwords and managing the account settings.
You can view the licensed users, assign a license and manage the licenses of a specific user in Office 365 using PowerShell cmdlets.
You can add a member to an Office 365 group using PowerShell. The commands are given as under:
To get all the commands available in Office 365, type this cmdlet:
Some important advantages of using PowerShell cmdlets in Office 365 are:
Hope this article is helpful to know the importance of PowerShell in Office 365.
PowerShell cmdlets helps them manage Office 365 users, their passwrds/account settings, license, etc. Also, it helps them manage Office 365 groups. PowerShell cmdlets make it easy for Office 365 administrators to manage the environment more effectively.