Setting up the PowerShell environment
PowerShell is an ever-growing scripting language that allows network and system admins to interact with Microsoft products in an elevated manner. Admins can use PowerShell to create new users, make changes to users, interact with MS-SQL tables, move and manipulate files, and much more. PowerShell cmdlets are single-purpose functions with specific rules and syntax, but there are hundreds of these cmdlets, giving admins a flexible and extensible toolset with which to customize, administer, and run their tenant.
As there are so many possible uses of PowerShell, Chapter 3, Administering Office 365 with PowerShell, is dedicated to the topic. However, every admin must start somewhere, and that is why the basic steps to setting up your PowerShell environment are presented here in the following recipe—steps for connecting your desktop or laptop to your Office 365 tenant.
Getting ready
To start, an admin must have PowerShell installed,...