SlideShare a Scribd company logo
PowerShell for the Hybrid Admin:
Managing Your On-Prem, O365, and Azure Worlds
Jason Himmelstein, MVP
Senior Technical Director, SharePoint
@sharepointlhorn
• 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
• Changes in the Admin World
• PowerShell Background
• Leveraging PowerShell Profiles
• Repeatable processes through PowerShell
– Azure
– Office 365
– SharePoint Online
Agenda
Changes in the
Admin World
Evolution of the Admin
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
What is hybrid?
Is everything really going to the cloud?
What should go where?
PowerShell
Background
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
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
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
Leveraging
PowerShell Profiles
• Configured per user
• Used to repeatedly set environmental variables
– File path
– Pre-load snapins & modules
– Pre-load scripts to be used downstream
PowerShell Profiles
Demo Time!
• 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?
Script Dependencies
Path forward
• 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
• 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

More Related Content

PPTX
PowerShell for the Anxious ITPro
PPTX
Battle scarred but still standing publish: A SharePoint Admin's tell-all
PPTX
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
PPTX
Making sense of Microsoft Identities in a Hybrid world
PPTX
Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...
PPTX
Implementing Azure Active Directory Connect and more
PPTX
A Deep-Dive into Real-World SharePoint App Development
PPTX
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
PowerShell for the Anxious ITPro
Battle scarred but still standing publish: A SharePoint Admin's tell-all
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
Making sense of Microsoft Identities in a Hybrid world
Navigating the turbulence on take-off: Setting up SharePoint on Azure IaaS th...
Implementing Azure Active Directory Connect and more
A Deep-Dive into Real-World SharePoint App Development
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...

What's hot (20)

PDF
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
PDF
[Collinge] Office 365 Enterprise Network Connectivity Using Published Office ...
PPTX
Installing SharePoint 2013 – Step by Step presented by Alan Richards
PDF
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
PPTX
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
PDF
O365Con18 - Best Practice with Company Video on Microsoft Stream - Michael Greth
PPTX
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
PDF
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
PDF
[Struyf] Automate Your Tasks With Azure Functions
PDF
The missing key: Azure AD for developers
PDF
O365Con18 - Customizing SharePoint and Microsoft Teams with SharePoint Framew...
PPTX
Hybrid SharePoint Deployments
PPTX
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
PPTX
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
PPTX
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
PDF
[Carius] Skype Online, Teams, and PSTN
PPTX
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
PPTX
ECS19 - Patrick Curran - Expanding User Profiles with Line of Business Data (...
PDF
Spca2014 keynote johnson
PPTX
ECS19 - Gokan Ozcifci - PowerApps and SharePoint: Better together.
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
[Collinge] Office 365 Enterprise Network Connectivity Using Published Office ...
Installing SharePoint 2013 – Step by Step presented by Alan Richards
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
O365Con18 - Best Practice with Company Video on Microsoft Stream - Michael Greth
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
[Struyf] Automate Your Tasks With Azure Functions
The missing key: Azure AD for developers
O365Con18 - Customizing SharePoint and Microsoft Teams with SharePoint Framew...
Hybrid SharePoint Deployments
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Robi Voncina - Upgrade to SharePoint 2019
[Carius] Skype Online, Teams, and PSTN
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Patrick Curran - Expanding User Profiles with Line of Business Data (...
Spca2014 keynote johnson
ECS19 - Gokan Ozcifci - PowerApps and SharePoint: Better together.
Ad

Similar to PowerShell for the Hybrid Admin (20)

PDF
January 2021 Microsoft 365 Need to Know Webinar
PDF
I6 - State of the art SharePoint PowerShell Nation 2017 - Spencer Harbar
PPTX
Thoughts on building deployable and updatable share point solutions
PPTX
PowerShell Basics for Office Apps and Servers
PPTX
Build your SharePoint Internet Presence with PowerShell
PPTX
PowerShell Scripting and AI-infused Automation
PPTX
SPS Dayton Slides
PPTX
SharePoint Saturday Cincinnati 2014 - CSOM
PDF
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
PPTX
Introduction to PowerShell for SharePoint Admins and Developers
PDF
Spsct15 power shell_csom - amit vasu
PPTX
Uncovering the Latest in SharePoint Development
PPTX
PowerShell for the Anxious ITPro
PDF
Himmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
PPTX
Improving your productivity using Microsoft Flow and PowerApps in Office 365
PPTX
SharePoint 2063: The Future of SharePoint Governance
PPTX
Move past bootstrap and build our lightweight responsive framework w.v1.2
PPTX
What’s your Social IQ? Succeeding with SharePoint Social by Chris McNulty - S...
PPTX
Building rich interface components with SharePoint
PPTX
Managing SharePoint Anywhere with Windows PowerShell
January 2021 Microsoft 365 Need to Know Webinar
I6 - State of the art SharePoint PowerShell Nation 2017 - Spencer Harbar
Thoughts on building deployable and updatable share point solutions
PowerShell Basics for Office Apps and Servers
Build your SharePoint Internet Presence with PowerShell
PowerShell Scripting and AI-infused Automation
SPS Dayton Slides
SharePoint Saturday Cincinnati 2014 - CSOM
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
Introduction to PowerShell for SharePoint Admins and Developers
Spsct15 power shell_csom - amit vasu
Uncovering the Latest in SharePoint Development
PowerShell for the Anxious ITPro
Himmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
Improving your productivity using Microsoft Flow and PowerApps in Office 365
SharePoint 2063: The Future of SharePoint Governance
Move past bootstrap and build our lightweight responsive framework w.v1.2
What’s your Social IQ? Succeeding with SharePoint Social by Chris McNulty - S...
Building rich interface components with SharePoint
Managing SharePoint Anywhere with Windows PowerShell
Ad

More from Jason Himmelstein (19)

PPTX
SharePoint Migration in the real world: a cautionary tale of success
PPTX
Dive into Microsoft SharePoint Server 2016 Upgrade and Migration
PPTX
The Power of BI: A guided tour of Microsoft's Business Intelligence tooling
PPTX
Dive into Microsoft SharePoint Server 2016 Upgrade, Migration and beyond
PPTX
Analytically shiny and new: A guided tour of Microsoft’s Business Intelligenc...
PPTX
What’s new in SharePoint 2016 Beta 2?
PPTX
Making sense of Microsoft Identities in a Hybrid world
PPTX
Achieving Better Business Productivity through Apps for Office
PPTX
SharePoint 2013 Admin in the Hybrid World
PPTX
SharePoint Performance - Best Practices from the Field
PPTX
Business Intelligence in SharePoint 2013
PPTX
Heavy Metal PowerPivot Remastered
PPTX
ITPro's taking the SharePoint 2013 Red Pill
PPTX
Battle-scarred but still standing: A SharePoint Admin’s Tell-All
PPTX
New Office Web Apps story
PPTX
SharePoint Performance: Best Practices from the Field
PPTX
Heavy Metal PowerPivot
PPTX
Business intelligence in SharePoint 2013
PPTX
Battle Scarred But Still Standing: A SharePoint Administrator’s Tell All
SharePoint Migration in the real world: a cautionary tale of success
Dive into Microsoft SharePoint Server 2016 Upgrade and Migration
The Power of BI: A guided tour of Microsoft's Business Intelligence tooling
Dive into Microsoft SharePoint Server 2016 Upgrade, Migration and beyond
Analytically shiny and new: A guided tour of Microsoft’s Business Intelligenc...
What’s new in SharePoint 2016 Beta 2?
Making sense of Microsoft Identities in a Hybrid world
Achieving Better Business Productivity through Apps for Office
SharePoint 2013 Admin in the Hybrid World
SharePoint Performance - Best Practices from the Field
Business Intelligence in SharePoint 2013
Heavy Metal PowerPivot Remastered
ITPro's taking the SharePoint 2013 Red Pill
Battle-scarred but still standing: A SharePoint Admin’s Tell-All
New Office Web Apps story
SharePoint Performance: Best Practices from the Field
Heavy Metal PowerPivot
Business intelligence in SharePoint 2013
Battle Scarred But Still Standing: A SharePoint Administrator’s Tell All

Recently uploaded (20)

PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
cuic standard and advanced reporting.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
Cloud computing and distributed systems.
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
Teaching material agriculture food technology
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Reach Out and Touch Someone: Haptics and Empathic Computing
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Advanced methodologies resolving dimensionality complications for autism neur...
cuic standard and advanced reporting.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Cloud computing and distributed systems.
Spectral efficient network and resource selection model in 5G networks
Teaching material agriculture food technology

PowerShell for the Hybrid Admin

  • 1. PowerShell for the Hybrid Admin: Managing Your On-Prem, O365, and Azure Worlds Jason Himmelstein, MVP Senior Technical Director, SharePoint @sharepointlhorn
  • 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. • Changes in the Admin World • PowerShell Background • Leveraging PowerShell Profiles • Repeatable processes through PowerShell – Azure – Office 365 – SharePoint Online Agenda
  • 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
  • 8. Is everything really going to the cloud?
  • 9. What should go where?
  • 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. 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. 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
  • 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
  • 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?
  • 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. • 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

Editor's Notes

  • #3: Atrion – New England Consultancy, Global 50 MSP, Cisco Partner of the Year, Microsoft Managed Partner Blog Twitter LinkedIn Book Spurs Longhorns Jags
  • #22: Atrion – New England Consultancy, Global 50 MSP, Cisco Partner of the Year, Microsoft Managed Partner Blog Twitter LinkedIn Book Spurs Longhorns Jags