From the course: PowerShell 5 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Managing one-to-one operations

Managing one-to-one operations - PowerShell Tutorial

From the course: PowerShell 5 Essential Training

Start my 1-month free trial

Managing one-to-one operations

- To use remoting, we have special cmdlets that always use the PowerShell remoting protocol. To do that, let me show you some of the examples here and what those cmdlets would be. One of them is Enter-PSSession. This is referred to as a one-to-one connection. What this is gonna do is enter a PowerShell session on whatever computer I would like. And you'll see real quick what this does. I'm gonna do this to my domain controller. If you take a look here, look at what happened to my prompt. Notice that my prompt changed. It says, well, you're sitting on the domain controller. In fact, let me kinda clean this up. Now I'll prove it. I'm gonna type in the Windows native command hostname. Oh, I'm on the domain controller. Look, I can run ipconfig and get the information about that machine. Now, if you're a Unix person and you're saying, "Well, it's like SSH." Well, the concept is similar, but it's definitely different underneath the hood. If you're a Windows person and maybe you're kind of…

Contents