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.

Server cmdlets

Server cmdlets - PowerShell Tutorial

From the course: Learning PowerShell

Start my 1-month free trial

Server cmdlets

- [Voiceover] Now that you understand some of the basics of PowerShell, let's actually start getting to do some real work on a server. Now one of the great things about PowerShell, when you use this on a Windows server, it's pretty much everything that you see in the GUI environment of the server, everything you can do in the server manager, you can most likely do with Powershell. It's really just a matter of finding the commandlets. So I'm gonna show you two of most common things that you might do on a server and that's install roles and features and set up a backup. So let's actually hop in and do some work. Now, one of the first things that we're gonna do let's actually install some features, but before we even install it, let's see what already on the server. So I'm just gonna highlight this first line. We run one little commandlet called Get-WindowsFeature. And what this is gonna do is process and show me what's been installed on my server. Very simple output here. And x means…

Contents