更新时间:2021-07-02 18:51:03
coverpage
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
PowerShell Fundamentals
Why do we need to learn PowerShell for Office 365?
PowerShell is a cmdlet based language with verb-noun syntax
How to pass parameters to cmdlets and storing results as a variable
Parameters
How to get help with PowerShell
What is a module?
What is a pipe?
How PowerShell is an object-oriented language and how to work with objects
Using the if and where statements
Using the for and while loops
Creating your first script
Summary
Managing Office 365 with PowerShell
Admin roles for Office 365
Installing and working with the Office 365 admin tools
Installing Microsoft Online Service Sign-In Assistant
Installing the Windows Azure Active Directory Module for PowerShell
Verifying installation of the Office 365 admin tools
Creating the first user account in PowerShell
Ensuring user account permissions
Checking license availability
Creating a new user
Azure AD and Licensing Management
Common administrative cmdlets that are used for managing accounts and licensing
How to change the license for existing users
Formatting data to be used for bulk account management
How to reset account passwords
How to update user account details
Managing SharePoint Online Using PowerShell
A brief overview of the SharePoint APIs
The SharePoint web services API
The SharePoint server-side API and PowerShell API
The client-side object model
The REST API
The SharePoint Online API
Setting up your environment
PowerShell execution policy
SharePoint Online Management Shell
Security requirements
SharePoint Online scripting
Scenario 1 - getting to know the API
Scenario 2 - site collection information
Scenario 3 - site collection maintenance
Testing site health
Scenario 4 - personal sites
Scenario 5 - sharing and external access
Guest access
Scenario 6 - CSOM scripting using PowerShell
Environment setup
Connecting to SharePoint Online via CSOM
CSOM queries
Scenario 7 - the REST API in PowerShell
Managing Exchange Online Using PowerShell
Connecting to Exchange Online
Exploring the API
Working with Exchange accounts
Creating new mailboxes
Scenario 1 - a new user mailbox
Scenario 2 - an unlicensed existing user
Scenario 3 - a licensed user without the Exchange service
Scenario 4 - MailUser
User photos
Email forwarding
Out-of-office reply
Inbox rules
User impersonation
Installing Exchange Web Services
Role-based access control
Management roles
Role groups
Management role assignment
RBAC scenario - creating a custom administrator
First requirement - limiting access to PowerShell commands
Second requirement - limiting access to a group of users
Script Automation