Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

PowerShell for the Hybrid Admin

861 views

Published on

PowerShell for the Hybrid Admin: Managing Your On-Prem, O365, and Azure Worlds

Published in: Technology
  • Be the first to comment

PowerShell for the Hybrid Admin

  1. 1. PowerShell for the Hybrid Admin: Managing Your On-Prem, O365, and Azure Worlds Jason Himmelstein, MVP Senior Technical Director, SharePoint @sharepointlhorn
  2. 2. • Senior Technical Director, SharePoint • SharePoint Server MVP • Microsoft vTSP • Blog: www.sharepointlonghorn.com • Twitter: @sharepointlhorn • LinkedIn: www.linkedin.com/in/jasonhimmelstein • SlideShare: http://www.slideshare.net/jasonhimmelstein • Email: jase@sharepointlonghorn.com • Author of Developing Business Intelligence Apps for SharePoint – http://bit.ly/SharePointBI
  3. 3. • Changes in the Admin World • PowerShell Background • Leveraging PowerShell Profiles • Repeatable processes through PowerShell – Azure – Office 365 – SharePoint Online Agenda
  4. 4. Changes in the Admin World
  5. 5. Evolution of the Admin
  6. 6. Changes in the Admin World • It’s not a rack, stack, & admin boxes world anymore • “click, click, finish” days are in our past • Hybrid is the new black
  7. 7. What is hybrid?
  8. 8. Is everything really going to the cloud?
  9. 9. What should go where?
  10. 10. PowerShell Background
  11. 11. What is it? • It isn't: – Fire and forget – A packaged executable – Developer-centric – Too hard for an ITPro • It is: – Command line environment – Microsoft technology holistic – A swiss army knife with a chain saw – The future of ITPro's world
  12. 12. What is it? • Windows PowerShell is Microsoft's task automation framework, consisting of a command- line shell and associated scripting language built on .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems. – Definition from Wikipedia • What is it really – PowerShell is an object-based, not text-based, command-line interface for Microsoft Technologies • What does that mean: – Results in PowerShell can be acted upon, not just read from
  13. 13. The Why • Why did Microsoft create PowerShell & move more to a PowerShell world than a GUI world? • What is it used for: – Deployment – Configuration – Management – Administration – Development
  14. 14. Leveraging PowerShell Profiles
  15. 15. • Configured per user • Used to repeatedly set environmental variables – File path – Pre-load snapins & modules – Pre-load scripts to be used downstream PowerShell Profiles
  16. 16. Demo Time!
  17. 17. • PowerShell Profiles • Dot sourcing • New-psprofiles.ps1 • Azure VM interactions • Office 365 management • Script pre-loads • Manage SharePoint Online – Cmdlets – CSOM What did we just do?
  18. 18. Script Dependencies
  19. 19. Path forward
  20. 20. • http://www.github.com/jasonhimmelstein/powershell • ITUnity – http://www.itunity.com • Chris O’Brien “Using CSOM in PowerShell scripts with Office 365” – http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in- PowerShell-scripts-with-Office365.html • http://dev.office.com/ • https://github.com/OfficeDev/PnP • https://github.com/OfficeDev/PnP/tree/master/Samples • Resources
  21. 21. • Senior Technical Director, SharePoint • SharePoint Server MVP • Microsoft vTSP • Blog: www.sharepointlonghorn.com • Twitter: @sharepointlhorn • LinkedIn: www.linkedin.com/in/jasonhimmelstein • SlideShare: http://www.slideshare.net/jasonhimmelstein • Email: jase@sharepointlonghorn.com • Author of Developing Business Intelligence Apps for SharePoint – http://bit.ly/SharePointBI

×