Administering Microsoft 365 with PowerShell
PowerShell extends the capabilities of Microsoft 365 Administrators far beyond the limitations of the admin centers and graphical user interface (GUI). It enables the automation of complex and repetitive tasks, offers access to a suite of commands not always available in the GUI, and allows for the efficient management of multiple user accounts and licenses. This chapter delves into specific PowerShell recipes designed to enhance the efficiency and capabilities of Microsoft 365 Administrators.
In this chapter, we will cover the following PowerShell recipes:
- Getting a list of all available commands
- Creating a user
- Disabling a user
- Changing user settings or profile information
- Getting a list of all users with user properties
- Changing a user password
- Connecting via PowerShell to SharePoint Online
- Creating a SharePoint Online site
- Adding a new site admin to all SharePoint Online sites
- Restoring a...