POWERSHELL REMOTING – THEORY & PRACTICE ROBERT PRÜST.

Slides:



Advertisements
Similar presentations
Advanced Windows Azure: Infrastructure as a service (IaaS)
Advertisements

POWERSHELL SHENANIGANS LATERAL MOVEMENT WITH POWERSHELL KIERAN JACOBSEN READIFY.
WSV316 Access User Experience Automation User Experience I have the right tools to get the job done Access I can manage anything from anywhere.
Workflow Manager Tips & Tricks. Mai Omar Desouki Workflow Manager Tips & Tricks
Great people, great experience, great passion Administering SharePoint with Windows PowerShell Go Beyond the Management Shell with SharePoint and Windows.
©2012 Microsoft Corporation. All rights reserved..
Welcome Course 20410B Module 0: Introduction Audience
Migrating Applications to Windows Azure Virtual Machines Michael Washam Senior Technical Evangelist Microsoft Corporation.
Esri UC 2014 | Demo Theater | Using ArcGIS for Server in the Microsoft Azure Cloud Nikhil Shampur.
Deploying and Managing Windows Server 2012
Partner Practice Enablement - Overview This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft.
Remote Desktop Services Remote Desktop Connection Remote Desktop Protocol Remote Assistance Remote Server Administration T0ols.
Datacenter X Datacenter Y ….com Contoso.com Exchange Labs ACME.com Ops NK App user Finance HR Sales Purchase Fabrikam Enterprises.
Microsoft ® Official Course Module XA Using Windows PowerShell ®
HTML+JavaScript M2M Applications Viewbiquity Public hybrid cloud platform for automating and visualizing everything.
Appendix A Starting Out with Windows PowerShell™ 2.0.
Your First Azure Application Michael Stiefel Reliable Software, Inc.
Introduction to JMeter Anton Nesterov. User profile  Anton Nesterov  QA Engineer at Sitecore  3+ years of experience in testing automation  Skype:
Partner Practice Enablement - Overview This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft.
Trevor Sullivan Solution Architect Project Leadership Associates.
PowerShell Shenanigans Lateral Movement with PowerShell
Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DMVMUG User Conference 2013 – Reston, VA.
Good Morning and Thank You!.  Have some Fun!  Learn at least one thing new!  Make myself available to you So please …  Ask questions and enjoy!
POWERSHELL SHENANIGANS KIERAN JACOBSEN HP ENTERPRISE SERVICES.
Module 1: Configuring Windows Server Module Overview Describe Windows Server 2008 roles Describe Windows Server 2008 features Describe Windows Server.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework.
“Click and Run ” “Click once repeat often” Admins Service Operations “ Install and forget” Engineering Support Key considerations: Deterministic, fool.
Ed Wilson, MCSE, MCSD Microsoft Scripting Guy Microsoft Session Code: WCL314.
Virtual techdays INDIA │ 9-11 February 2011 Monitoring and managing remote Windows 7 desktops with Windows PowerShell Ravikanth C │ Dell Inc.
Corey Hynes HynesITe, Inc Session Code: SRV317 Objectives Let you walk out of here, being able to run a script against an OU of computers, to make some.
Microsoft Confidential Automation Query, Manage and Configure Windows Azure resources (VMs, Cloud Services, Websites, Storage, Queues, Databases etc…)
PowerPoint Instructions These are not native PowerPoint objects. They are PNG objects. To change the color, you need to go to the Format Tab.
Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan.
Level 300 System Center App Controller 2012 Marin Franković, Visoko učilište Algebra.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Windows Certification Paths OR MCSA Windows Server 2012 Installing and Configuring Windows Server 2012 Exam (20410) Administering Windows Server.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
PowerShell for Cyber Warriors
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
Preparing for the Windows 8.1 MCSA
PowerShell Where we are, where we‘re going
Virtual desktops in the cloud: Experiences from the field
Supporting Windows 8.1 Krystle Portocarrero | Training Experts Inc.
Azure and Powershell - May the Force Be With You!
PowerShell 2.0 Remoting Ravikanth C.
Nano Server in the cloud - some real use cases to take away
Azure IaaS 101.
Release Management with Visual Studio Team Services
07 | The Power in the Shell - Remoting
Administrating SQL Server with PowerShell dbatools
Windows PowerShell Remoting: Definitely NOT Just for Servers
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Making PowerShell Useful
Hybrid Search Technical Guidance.
PowerShell Remoting in Depth
Automating configuration of SQL Server
Tech Ed North America /28/2018 7:06 PM Required Slide
Manage Your Enterprise from a Single Seat: Windows PowerShell Remoting
Building your SharePoint Farm with PowerShell
Administrating SQL Server with PowerShell dbatools
Mass Hunting and exploitation with powershell
Administrating SQL Server with PowerShell dbatools
Windows Remote Management
1. Azure Data Explorer Azure Data Explorer enables rich data exploration over raw, structured, and semi-structured data delivering fast time to insight.
Microsoft Virtual Academy
Server & Tools Business
Windows without windows...
Windows without windows...
Presentation transcript:

POWERSHELL REMOTING – THEORY & PRACTICE ROBERT PRÜST

WHO AM

AGENDA Why use PowerShell Remoting? Why use PowerShell Remoting? Enable PowerShell Remoting Enable PowerShell Remoting Using PowerShell Remoting Using PowerShell Remoting

WHY USE POWERSHELL REMOTING What is PowerShell remoting? What is PowerShell remoting? How does it work? How does it work? Why is it important? Why is it important?

WHAT IS POWERSHELL REMOTING

HOW DOES IT WORK

Remote Computer Your Computer PowerShell.exePS_ISEPS Studio HTTP Listener WSMAN [HTTP] WSMAN [HTTP] Windows Remote Management [WinRM] Service PowerShell.exe EndPoint: PowerShell x64 PowerShell.exe EndPoint: PowerShell x86 Whatever EndPoint: Something else

IMPORTANT INFO Web Services for Management (WS-MAN) and Windows Remote Management [WinRM] Web Services for Management (WS-MAN) and Windows Remote Management [WinRM] HTTP [5985, default] HTTPS [5986] HTTP [5985, default] HTTPS [5986] Serialize objects output to XML on remote machine, deserialize XML back to objects Serialize objects output to XML on remote machine, deserialize XML back to objects

WHY IS IT IMPORTANT Automation Automation Windows Server Core Windows Server Core Windows Nano Server Windows Nano Server Azure Azure Office 365 Office 365

ENABLE REMOTING - DEMO Local Machine Local Machine Remote Server & Client – in Domain environment Remote Server & Client – in Domain environment Remote Server & Client – in Workgroup environment Remote Server & Client – in Workgroup environment

USING REMOTING 1:1 1:1 1:N 1:N Persistent Sessions Persistent Sessions Implicit Remoting Implicit Remoting

1:1 REMOTING Interactive like Telnet/SSH Interactive like Telnet/SSH Does not load or process profile scripts Does not load or process profile scripts Enter-PSSession –ComputerName Enter-PSSession –ComputerName BEWARE: second-hop remoting BEWARE: second-hop remoting Demo Demo

1:N REMOTING Focussed on Automation Focussed on Automation Invoke-Command –ComputerName –FilePath file.ps1 Invoke-Command –ComputerName –FilePath file.ps1 Invoke-Command –ComputerName –ScriptBlock { } Invoke-Command –ComputerName –ScriptBlock { } Demo Demo

PERSISTENT SESSIONS Reduce overhead/Increase speed Reduce overhead/Increase speed Preserve state Preserve state Demo Demo

IMPLICIT REMOTING Obtain access to remote modules Obtain access to remote modules Demo Demo

EXTRA INFO EXTRA INFO PowerShell WebAccess PowerShell WebAccess Constrained Endpoints Constrained Endpoints

QUESTIONS? Thank you for your attention!