Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using PowerShell Magic to Manage Microsoft Office 365

Similar presentations


Presentation on theme: "Using PowerShell Magic to Manage Microsoft Office 365"— Presentation transcript:

1

2 Using PowerShell Magic to Manage Microsoft Office 365
OUC-B322 Using PowerShell Magic to Manage Microsoft Office 365 Danny Burlage Office 365 MVP

3 Why PowerShell? It just helps you to be more productive
TechEd 2013 11/23/2018 2:38 PM Why PowerShell? It just helps you to be more productive You will also need it to implement Office 365 components like ADFS Creating a lot of SharePoint Online sites Creating a Shared Mailbox in Exchange Online Migrating a User Mailbox to a Shared Mailbox Performing standard tasks on lots of mailboxes, users or sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Before we get started Base OS .NET Framework 4.5
TechEd 2013 11/23/2018 2:38 PM Before we get started Base OS Windows Server 2012, Windows Server 2008 R2 SP1, Windows 8, Windows 7 SP1 .NET Framework 4.5 Windows Management Framework 3.0 Microsoft Online Services Sign-in Assistant All the latest updates .NET Framework 4.5 and Windows Management Framework 3.0 are included in Windows 8 and Windows Server 2012 Windows Azure AD Module for Windows PowerShell 32-bit Windows Azure AD Module for Windows PowerShell 64-bit SharePoint Online Management Shell © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Integrated Scripting Environment
Don’t use the traditional PowerShell windows, use ISE!

6 Windows Azure AD

7 PowerShell for Windows Azure AD
Basic operations for management of the Office 365 tenant, user management

8 Basic User Operations

9 What have you just seen? $msolcred = get-credential
connect-msolservice -credential $msolcred New-MsolUser Set-MsolUserPassword

10 Basic Group Operations

11 What have you just seen? Get-MsolGroup New-MsolGroup
Add-MsolGroupMember

12 Role Operations

13 What have you just seen? Get-MsolRole Get-MsolRoleMember
Add-MsolRoleMember

14 Managing Subscriptions

15 What have you just seen? Get-MsolSubscription Get-MsolAccountSku
New-MsolLicenseOptions Set-MsolUserLicense

16 Let’s get advanced

17 What you have seen Batch Import users from CSV
How to use PowerShell to Automatically Assign Licenses to your Office365 Users

18 Exchange Online

19 PowerShell for Exchange Online
Very rich and PowerFull set of commands Almost all operations which are available for Exchange on premise are available for Exchange Online Overview of all cmdlts:

20 Connecting to the service

21 What have you just seen? $Cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Cred -Authentication Basic -AllowRedirection Import-PSSession $Session

22 Working with users

23 What have you just seen? Get-User -Filter "Department -eq 'Customer Service'" | Set-Mailbox -MaxSendSize Set-UserPhoto "MOD Administrator" -PictureData ([System.IO.File]::ReadAllBytes("C:\SAMOptimizationKit\marlies.jpg"))

24 Managing a security group

25 What have you just seen? Get-Group
new-distributiongroup -name "[Group's Name]" -alias "[Group's Alias]" -type "security" -primarysmtpaddress get-distributiongroup -identity [Group's Name or Address] | format-list

26 Let’s get more advanced

27 What have you just seen? Convert User to a Shared Mailbox Setting up a Shared Mailbox Export list of Exchange Permissions

28 SharePoint Online

29 PowerShell and SPO About 30 cmdlts available (compared to hundreds in SharePoint On Premise) NoWait parameter added

30 Basic operations

31 What have you just seen? Connect-SPOService Get-SPOSite
Get-SPOWebTemplate New-SPOSite New-SPOSiteGroup Add-SPOUser

32 More advanced operations
TechEd 2013 11/23/2018 2:38 PM More advanced operations Dynamically increase quota’s on site collections Create multiple sites through CSV file Getting a list external users © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 Lync Online

34 Overview Not yet released
PowerShell for Lync Online is only available upon request (Service Request), NDA, TDLA Only needed for specific scenario’s (Lync Room System, split domain, mass-operations)

35 Track resources Office 365 Blog:
11/23/2018 2:38 PM Track resources Office 365 Blog: Twitter: Connect: Check out: Garage Series for IT Pros: Office 365 FastTrack: © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

36 Resources Learning TechNet msdn http://channel9.msdn.com/Events/TechEd
11/23/2018 2:38 PM Resources Learning Sessions on Demand Microsoft Certification & Training Resources TechNet msdn Resources for IT Professionals Resources for Developers © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

37 Complete an evaluation on CommNet and enter to win!
11/23/2018 2:38 PM Complete an evaluation on CommNet and enter to win! © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

38 MS tag Scan the Tag to evaluate this session now on myTechEd Mobile
11/23/2018 2:38 PM Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. MS tag Scan the Tag to evaluate this session now on myTechEd Mobile © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

39 11/23/2018 2:38 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Using PowerShell Magic to Manage Microsoft Office 365"

Similar presentations


Ads by Google