Description
Learn how to manage remote devices in your environment with PowerShell remoting. Connect to one or hundreds of devices using the power of PowerShell! I demo how to remotely manage Windows devices via WinRM and show you Linux to Linux over PowerShell using ssh. You'll learn how to create sessions to individual as well as multiple devices. Wrap up with a practical example where you can audit your entire environment in just a few minutes using basic PowerShell logic.
Corresponding TechThoughts write-up:
https://www.techthoughts.info/powershell-remoting
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:28 - Network & Authentication Overview
01:59 - The power of PowerShell remoting
02:36 - WinRM configuration
07:37 - Windows to Windows using Enter-PSSession
12:52 - Multiple remote sessions using Invoke-Command
17:04 - Advanced remote sessions using Invoke-Command
20:11 - Linux to Linux using PowerShell with SSH
24:22 - Advanced configuration of WinRM
26:16 - Final Example
36:56 - Outro
Learn PowerShell - Episode 9 - PowerShell Remoting
Reference PowerShell code examples from this episode:
https://github.com/techthoughts2/Learn-PowerShell-Code-Examples/blob/master/LearnPowerShell/EP9%20-%20PowerShell%20Remoting.ps1
Check out the complete Learn PowerShell YouTube Playlist:
https://www.youtube.com/playlist?list=PL2j0_s2VJe2hzQuQyn6yfMS2olhhs4UnQ
~
https://twitter.com/JakeMorrison
My recommended books for learning PowerShell:
(these affiliate links cost you nothing extra and help support this channel)
- Learn PowerShell in a Month of Lunches: https://amzn.to/3mlbizz
- Learn PowerShell Scripting in a Month of Lunches: https://amzn.to/3MtxJxe
- Windows PowerShell in Action: https://amzn.to/3xkjGp4
- PowerShell Cookbook: https://amzn.to/3tgCq6F
If you are able, and found this content valuable, please consider a secure donation in the link below. Your contribution helps offset the costs of producing this PowerShell series. Much appreciated!
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8AFAJUDJ5T46E&source=url
Learn PowerShell online free in this operationally focused PowerShell series. These PowerShell tutorials are designed to get you ramped up and using PowerShell quickly. Each episode provides practical PowerShell examples for using PowerShell in the real world. Whether you are a PowerShell beginner or seeking advance PowerShell training, this Learn PowerShell series covers the topics you'll need to be effective with PowerShell!
These videos were recorded on a lot of my older equipment.
My newer videos use the following equipment:
- Camera: https://amzn.to/3MsjQPu
- Lens: https://amzn.to/3NrsKhJ
- Teleprompter: https://amzn.to/3monqQc
- Mic: Audio-Technica AT2035
- Mic Preamp: https://amzn.to/3tlOvY6
- Mic Arm: https://amzn.to/3NXJTiP
- Audio Interface: https://amzn.to/3xqPqJu
- Lighting: https://amzn.to/3O1Z2zR
- Rear color lighting: https://amzn.to/3H5MIMI
#learnPowerShell #PowerShell #PowerShelltraining #PowerShellTutorial