| About the Author |
|
ix | |
| About the Technical Reviewer |
|
xi | |
|
Chapter 1 Introduction to PowerShell for Office 365 |
|
|
1 | (8) |
|
|
|
1 | (1) |
|
|
|
2 | (3) |
|
The Office 365 Admin Center |
|
|
2 | (1) |
|
|
|
3 | (1) |
|
The Office 365 Management API |
|
|
3 | (1) |
|
PowerShell for Office 365 |
|
|
4 | (1) |
|
The Importance of Learning PowerShell for Office 365 |
|
|
4 | (1) |
|
The Different Types of Office 365 Deployments |
|
|
5 | (3) |
|
What About the Other Applications? |
|
|
8 | (1) |
|
|
|
8 | (1) |
|
Chapter 2 Managing Users and Licenses |
|
|
9 | (38) |
|
|
|
9 | (4) |
|
Managing Users with PowerShell |
|
|
13 | (6) |
|
Viewing Users and Properties |
|
|
13 | (2) |
|
Modifying User Properties |
|
|
15 | (2) |
|
|
|
17 | (2) |
|
Managing Licenses with PowerShell |
|
|
19 | (13) |
|
Viewing the Available Licenses |
|
|
19 | (4) |
|
Assigning a License to a User |
|
|
23 | (3) |
|
Assigning Multiple Licenses |
|
|
26 | (2) |
|
Assigning Licenses with Some Features Disabled |
|
|
28 | (3) |
|
|
|
31 | (1) |
|
Managing Security Groups with PowerShell |
|
|
32 | (5) |
|
Creating a New Security Group |
|
|
32 | (1) |
|
Changing the Properties of a Security Group |
|
|
33 | (1) |
|
Removing a Security Group |
|
|
34 | (1) |
|
Managing Security Group Membership |
|
|
35 | (2) |
|
|
|
37 | (9) |
|
|
|
37 | (4) |
|
Creating or Updating Users from a CSV File |
|
|
41 | (5) |
|
|
|
46 | (1) |
|
Chapter 3 Managing SharePoint Online |
|
|
47 | (36) |
|
Connecting to SharePoint Online |
|
|
47 | (4) |
|
Executing PowerShell cmdlets in SharePoint Online |
|
|
51 | (20) |
|
|
|
51 | (3) |
|
|
|
54 | (7) |
|
Managing Users and Groups |
|
|
61 | (5) |
|
Managing Tenant-level Settings |
|
|
66 | (5) |
|
|
|
71 | (6) |
|
Getting the Office 365 Dev PnP PowerShell Cmdlets |
|
|
72 | (1) |
|
|
|
73 | (1) |
|
|
|
73 | (4) |
|
|
|
77 | (5) |
|
Create Sites from a CSV File |
|
|
77 | (2) |
|
|
|
79 | (3) |
|
|
|
82 | (1) |
|
Chapter 4 Managing Exchange Online |
|
|
83 | (34) |
|
Connecting to Exchange Online |
|
|
83 | (6) |
|
Connecting with Multi-Factor Authentication |
|
|
85 | (4) |
|
Managing Users and Mailboxes |
|
|
89 | (18) |
|
|
|
89 | (2) |
|
|
|
91 | (3) |
|
|
|
94 | (4) |
|
Calendar and Out of Office |
|
|
98 | (4) |
|
SendAs and Mailbox Permissions |
|
|
102 | (5) |
|
Managing Organization Settings |
|
|
107 | (3) |
|
Managing Distribution Groups |
|
|
110 | (4) |
|
Manage Distribution Group Membership |
|
|
113 | (1) |
|
|
|
114 | (2) |
|
Disconnecting from Exchange Online |
|
|
116 | (1) |
|
|
|
116 | (1) |
|
Chapter 5 Managing Skype for Business Online |
|
|
117 | (18) |
|
Connecting to Skype for Business Online |
|
|
117 | (3) |
|
|
|
120 | (2) |
|
Executing PowerShell cmdlets for Skype for Business Online |
|
|
122 | (11) |
|
Managing Users and Policies |
|
|
122 | (1) |
|
|
|
123 | (5) |
|
|
|
128 | (1) |
|
Skype for Business Broadcast |
|
|
129 | (4) |
|
Running cmdlets in a Hybrid Environment |
|
|
133 | (1) |
|
|
|
134 | (1) |
|
Chapter 6 Managing the Office 365 Security & Compliance Center |
|
|
135 | (18) |
|
Connecting to the Office 365 Security & Compliance Center |
|
|
135 | (2) |
|
Office 365 Security & Compliance Center cmdlets |
|
|
137 | (3) |
|
Executing PowerShell cmdlets in the Office 365 Security & Compliance Center |
|
|
140 | (7) |
|
|
|
140 | (2) |
|
|
|
142 | (5) |
|
Searching the Unified Audit Log |
|
|
147 | (5) |
|
|
|
152 | (1) |
|
Chapter 7 Managing Office 365 Groups |
|
|
153 | (42) |
|
PowerShell Modules to Manage Office 365 Groups |
|
|
153 | (1) |
|
|
|
154 | (14) |
|
Creating an Office 365 Group |
|
|
154 | (5) |
|
Updating Office 365 Groups |
|
|
159 | (2) |
|
Deleting an Office 365 Group |
|
|
161 | (1) |
|
Restoring a Deleted Office 365 Group |
|
|
162 | (3) |
|
Managing the Members of an Office 365 Group |
|
|
165 | (3) |
|
Office 365 Group Governance |
|
|
168 | (23) |
|
Enforcing a Naming Policy and Blocked Words |
|
|
169 | (7) |
|
|
|
176 | (5) |
|
|
|
181 | (3) |
|
Only Allowing a Certain Group to Create Office 365 Groups |
|
|
184 | (2) |
|
|
|
186 | (5) |
|
Office 365 Group Reporting |
|
|
191 | (3) |
|
|
|
194 | (1) |
|
Chapter 8 Automating Tasks with PowerShell |
|
|
195 | (36) |
|
Connecting to Multiple Office 365 Services |
|
|
195 | (1) |
|
Saving Credentials to Securely Use with PowerShell |
|
|
196 | (2) |
|
Creating Users in Azure AD Using SharePoint as an Input |
|
|
198 | (12) |
|
Add Users to an Distribution List Using SharePoint as an Input |
|
|
210 | (7) |
|
Office 365 Groups Provisioning |
|
|
217 | (9) |
|
Other Tips and Optimizations |
|
|
226 | (4) |
|
Hiding Columns in SharePoint Online |
|
|
226 | (3) |
|
Using CAML to Filter Items |
|
|
229 | (1) |
|
|
|
230 | (1) |
| Index |
|
231 | |