Managing Windows Server 2008 / Command-Line Tools
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
Now, before we leave the whole Server Management set of videos, I want to talk about Command-Line Tools. Now, there's two types of administrators out there; those who grew up in a Windows world and only use Windows type applications so forth, and then there's those who grew up in a DOS world or a UNIX world or maybe the open-source world and they've really become friendly with the command prompt. And this is something you really need to begin to if you're not utilizing this. You need to educate yourself a little bit and that is this whole world of using the Command-Line and scripting and so forth. You can do so much stuff now and we're going to talk about PowerShell in a different set of videos in this course and if you haven't seen those already, you need to take a look at those. But Microsoft has always consistently been beefing up their command-line tools and their servers and 2008 is not exception to this rule. One of the things that you have on the Command-Line that's really cool, and I'm going to kick this off and show you, if you click on Start, Run and type CMD or command, notice it's going to take you to a command window. Now, also, you can just get to the command prompt right off the Start Menu up there. OK? Now, I can right click on the Title Bar up here and notice I can edit this thing or, I'm sorry, I can go to Properties and I can change the size of these things and one of the cool things that you can do, for example, on Window Size is change the height of this thing to where it's large. OK? And then I can tell it to stay that way every time. But anyway, I just wanted to you to see you can change the size and you can also just drag it for this particular instance. I can just grab the bottom and drag it now for this particular instance. But anyway, what I can do here is we now have a Server Manager Command. This is an executable file that's out there and I want you to notice that if I hit enter, it starts to show me your list from everything that I can do and basically I can run the Server Manager from a command prompt or I can script things. Now, what kind of power do we have here. I don't want to read through all this for you, but just go to a command prompt and type Server Manager CMD and press Enter and watch what happens. Notice we can query and I want to show you this one. But there's, we can install things, we can remove things like roles, features, all sorts of things and then what I want to do is show you that if I call this, this is actually pretty cool. If I run the Query Switch on this and hit Enter, it very quickly is going to show me every feature and role that's installed on the computer. Now, I like this because it puts them in green on my machine. You're could be a different color. But notice it's telling me the roles. I have Active Directory domain services, the domain controller portion installed. I have DNS Server on this machine, File Server, I have the File Server Resource Manager installed and notice all the stuff I don't have installed and then the features. It shows me what features I have installed. I have the Group Policy Management Tool. I have the Remote Server Administration Tools. OK? All kinds of stuff that I've got going on here; Server Backup Features. So this is a very quick way of getting out there and seeing what's going on. Now, with a little bit of scripting know-how and playing around with this thing, I can start to, to script again, that a video on Task Scheduler, I can do all kind of things and I can do them at certain times. I can schedule something to be installed maybe overnight. Notice also, for example, on this query, I can log that stuff out to a text file or to an XML file. OK? So anyway, go out and read on this thing. Then I just want to show you, it's worth your while to go out to Microsoft's Site and do some searching and dig around out there on command-line tools. There's a lot of stuff that you can do here. For example, we can partition the disk in a command-line text environment if I type Q, let me thing what it is. Q User, it will show me everybody who's logged on right now. Right now only the administrator's logged on this particular machine. I can RPC pings from here. I can do all kind of stuff. So anyway, just take a look at this thing and dig around out there about the Command-Line. Again, if we grew up on DOS, we know all about directories and changing directories and so forth. Really dig into this thing and look at the power that Microsoft's put in the Command-Line. Remember, almost anything that you can do in Windows, there's a Command-Line that you can execute to cause that thing to happen and anytime we can put things in batch files and task schedules and so forth and we start scripting, we can really do a lot of really cool stuff and we can even use Active Directory to push those around and replicate our scripts around and so forth. OK? So jump out on the Command-Line. Microsoft has a lot of information about Command-Line power, Command-Line functionalities and prompt and utilities and so forth. So investigate those and add those to your Administrator Toolbox.
Tutorial Information
| Course: | Microsoft Windows Server 2008 |
| Author: | Mark Long |
| SKU: | 33911 |
| ISBN: | 1-934743-96-8 |
| Release Date: | 2008-09-10 |
| Duration: | 6.5 hrs / 70 lessons |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 