Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Microsoft Teams

You're reading from   Hands-On Microsoft Teams A practical guide to enhancing enterprise collaboration with Microsoft Teams and Microsoft 365

Arrow left icon
Product type Paperback
Published in Dec 2021
Publisher Packt
ISBN-13 9781801075275
Length 532 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
João Ferreira João Ferreira
Author Profile Icon João Ferreira
João Ferreira
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Microsoft Teams Basics 2. Microsoft Teams' Core Features FREE CHAPTER 3. How to Use Microsoft Teams: Chats and Conversation 4. How to Use Microsoft Teams: Meetings, Webinars, and Live Events 5. Private vs Public vs Shared: Teams and Channels 6. Teams Templates 7. Employee Experience in Microsoft Teams Using Microsoft Viva 8. Other Microsoft Teams Use Cases 9. Extending Microsoft Teams Using Apps 10. Extending Microsoft Teams Using Custom Apps and Microsoft 365 11. Building Your Own App for Microsoft Teams Using the Developer Portal 12. Building Your Own Bot for Microsoft Teams 13. Microsoft Teams PowerShell: A Tool for Automation 14. Other Books You May Enjoy
15. Index

Learning how to use PowerShell from examples

In this section, you will find three examples of how PowerShell can be used to automate tasks within Microsoft Teams and the script used to tackle each of the scenarios.

The code includes comments so that you can follow along with what is happening. Comments are identified by a hashtag (#).

PowerShell scenario 1: Victor, the IT guy

Victor is the IT guy in his company and his colleagues often ask him to create teams according to internal policies and conventions. To avoid doing this task manually over and over again, Victor has created a PowerShell script that does the process for him.

The following script shows how Victor would do this:

# Define the team settings
$teamName = "Project Y"
$teamDescription = "The new generation of electric skateboards"
$teamOwner = "joao@funskating.com"
$teamVisibility = "Private"
$teamEditMessagesPolicy = $false
$teamDeleteMessagesPolicy...
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 $19.99/month. Cancel anytime
Banner background image