Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft  Office 365 Administration Cookbook

You're reading from  Microsoft Office 365 Administration Cookbook

Product type Book
Published in Sep 2020
Publisher Packt
ISBN-13 9781838551230
Pages 442 pages
Edition 1st Edition
Languages
Author (1):
Nate Chamberlain Nate Chamberlain
Profile icon Nate Chamberlain

Table of Contents (16) Chapters

Preface 1. Chapter 1: Office 365 Setup and Basic Administration 2. Chapter 2: Office 365 Identity and Roles 3. Chapter 3: Administering Office 365 with PowerShell 4. Chapter 4: Managing Exchange Online 5. Chapter 5: Setting Up and Configuring Microsoft Search 6. Chapter 6: Administering OneDrive 7. Chapter 7: Configuring the Power Platform 8. Chapter 8: Administering SharePoint Online 9. Chapter 9: Managing Microsoft Teams 10. Chapter 10: Configuring and Managing Users in Azure Active Directory (Azure AD) 11. Chapter 11: Understanding the Microsoft 365 Security & Compliance Center 12. Chapter 12: Deploying Data Loss Prevention and eDiscovery 13. Chapter 13: Monitoring Office 365 Apps and Services 14. Chapter 14: Appendix – Office 365 Subscriptions and Licenses
15. Other Books You May Enjoy

Creating a SharePoint site collection

Creating a new SharePoint site collection is a basic SharePoint administration task. This recipe covers how to complete that task with a few lines of PowerShell.

Getting ready

Using the skills learned in the Setting up the PowerShell environment recipe from Chapter 1, Office 365 Setup and Basic Administration and the Connecting via PowerShell to SharePoint Online recipe in this chapter, connect to your Office 365 tenant via PowerShell.

How to do it…

  1. Update the URL, Owner, and Title parameters as appropriate, then run the following code snippet:
    New-SPOSite -Url https://natechamberlain.sharepoint.com/sites/PowerShell -Owner bertha@natechamberlain.com -StorageQuota 1000 -Title "PowerShell Site" 
  2. The site will be generated, but this can take some time. Wait until the PowerShell console has completed the task.
  3. To verify that the site has been created, use the Get-SPOSite cmdlet learned in the previous recipe...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}