From the course: Learning PowerShell

Unlock the full course today

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

Running PowerShell remotely

Running PowerShell remotely - PowerShell Tutorial

From the course: Learning PowerShell

Start my 1-month free trial

Running PowerShell remotely

- [Voiceover] One of the huge advantages of PowerShell is be able to access remote servers and get information from an administrative console. So a lot of IT administrators actually will run PowerShell on their clientside desktops and use it to access servers in their data center located elsewhere. That could be on the same building, it could be across the country, it really doesn't matter. PowerShell doesn't care either. Now if we look back once again at our Get-Service command we have this just wonderful command that we use a lot we show all our local services. Now I ran it on my local server so I'm getting that information for my dcdsc server that I have, but what if I wanna find out about a server named webserver? All I have to do is type in the computer name parameter, one of the most common parameters for most commandlets is ComputerName. And what this is going to do is run across the web and actually find out the services for a ComputerName called webserver. So I'm going to go…

Contents