
PowerShell for Office 365
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- -Easily administer scenarios such as user management, reporting, cloud services, and many more.
- -A fast-paced guide that leverages PowerShell commands to increase your productivity.
Book DescriptionWhile most common administrative tasks are available via the Office 365 admin center, many IT professionals are unaware of the real power that is available to them below the surface. This book aims to educate readers on how learning PowerShell for Offi ce 365 can simplify repetitive and complex administrative tasks, and enable greater control than is available on the surface. The book starts by teaching readers how to access Offi ce 365 through PowerShell and then explains the PowerShell fundamentals required for automating Offi ce 365 tasks. You will then walk through common administrative cmdlets to manage accounts, licensing, and other scenarios such as automating the importing of multiple users,assigning licenses in Office 365, distribution groups, passwords, and so on. Using practical examples, you will learn to enhance your current functionality by working with Exchange Online, and SharePoint Online using PowerShell. Finally, the book will help you effectively manage complex and repetitive tasks (such as license and account management) and build productive reports. By the end of the book, you will have automated major repetitive tasks in Office 365 using PowerShell.What you will learn - Understand the benefits of scripting and automation and get started using
- Powershell with Office 365
- Explore various PowerShell packages and permissions required to manage
- Offi ce 365 through PowerShell
- Create, manage, and remove Office 365 accounts and licenses using
- PowerShell and the Azure AD
- Learn about using powershell on other platforms and how to use Office 365 APIs through remoting
- Work with Exchange Online and SharePoint Online using PowerShell
- Automate your tasks and build easy-to-read reports using PowerShell
Who this book is forThe book is aimed at sys admins who are administering office 365 tasks and looking forward to automate the manual tasks. They have no knowledge about PowerShell however basic understanding of PowerShell would be advantageous.
All prices
More details
Person
Martin Machado is an MCSD with over 15 years, experience in designing and implementing systems. He moved into consulting as a way to satisfy his curiosity and interest in diverse IT scenarios and applications very early in his career. He started as an Oracle developer and quickly moved into systems integration with Microsoft technologies. He has a passion for designing complex systems and intricate migrations. Martin currently works for Microsoft as a Senior Consultant in the Modern Applications Division. He has extensive experience helping customers of all sizes and currently spends most of his time designing solutions that take advantage of Azure and Office 365. When he is not working, Martin enjoys the company of his wife, Raquel, and son, David. He also spends time with his soldering gun, creating custom keyboards and other tinkering projects. Martin is originally from Uruguay but currently lives in the Washington DC metro area.
Content
- Cover
- Copyright
- Credits
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: 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
- Summary
- Chapter 3: 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
- Summary
- Chapter 4: 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
- Summary
- Chapter 5: 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
- Summary
- Chapter 6: Script Automation
- PowerShell modules
- Module manifest
- Script modules
- Cmdlets
- Scheduled execution
- Scripting instrumentation - the next steps
- Code signing
- Setting up a signing infrastructure
- The PKI module
- Self-signed certificates
- Creating a CA certificate
- Querying certificate stores
- Exporting, importing, and publishing certificates
- Issuing certificates with a self-signed CA
- Active Directory Certificate Services
- Prerequisites
- Requesting and issuing certificates in AD CS
- Signing PowerShell scripts
- IncludeChain
- TimestampServer
- Summary
- Chapter 7: Patterns and Practices PowerShell
- Why do we need to learn PnP PowerShell?
- Installing and working with PnP PowerShell cmdlets
- PowerShell Gallery
- Using Setup files/binaries
- Installation script
- Verifying the installation of the PnP PowerShell module for SharePoint Online
- Using Windows Credential Manager with PnP PowerShell
- An example of provisioning site collection using a standard template
- Summary
- Chapter 8: OneDrive for Business
- Feature configuration
- Personal site management
- Data migration
- The CSOM API
- The SPO Migration API
- Office 365 Import service
- Creating an Azure Blob storage account
- Migrating data using Azure Blob storage
- Summary
- Chapter 9: PowerShell Core
- Installing PowerShell Core
- Remoting on PowerShell Core
- WinRM remote management
- SSH Remote management
- Managing SharePoint with PowerShell Core
- Managing SharePoint Online from PowerShell Core
- Summary
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.