This article is about the PowerShell cmdlets that can be run 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. Let us see how.
Note: It restores the user mailbox up to 30 days after deletion (default retention period). After this period, the mailbox gets delete permanently.
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.
You can manage Office 365 groups by adding member to group. The commands are given as under:
To get all the commands available in Office 365 management, type this cmdlet:
For more information, get standard details on Office 365 PowerShell.
Some important advantages of using PowerShell cmdlets in Office 365 are: to fulfill many functions are:
Hope this article is helpful to know the importance of PowerShell in Office 365.