Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 06, 2007

Real Admins Use the Command Line


RSS
Subscribe to Windows IT Pro | See More Scripting Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

When Microsoft was freely handing out certifications back in the mid-1990s to anyone with a pen and a heartbeat, there was a real concern that Microsoft's certification program would become a joke, offering no real benefits to the certifiers or certified. And, of course, that's exactly what happened. So Microsoft overhauled its certification program, made the tests and certifications more meaningful, and turned things around. But there's still a strange stigma hanging over the heads of Windows-based administrators, who are often perceived as being less technical, less knowledgeable, and in some cases, even less employable than their UNIX counterparts

Well, those days are coming to a close. Through a strange series of coincidences, Microsoft appears to have warmed to the UNIX-style command line interfaces that inspired the company to earlier go in a completely different direction with the GUI-based administration tools we're familiar with in Windows. Part of this shift is common sense: Many repetitive administrative tasks need to be scriptable so that they can be completed more efficiently. Part of it was the rise of XML, a text-based descriptive markup language that is both standards-based and malleable from within text editors and scripts. And part of it, of course, is the maturity of Windows-based servers. Once Microsoft hit the high points, from a functional standpoint, the company naturally began looking to fill in the areas in which its server products still lagged behind the UNIX and UNIX-like competition.

Let's look at three examples of how Microsoft's new command-line religion is dramatically changing its products--and for the better.

I've written a lot about Microsoft Exchange Server 2007, Microsoft's latest messaging server. There's a lot to like about Exchange 2007, from its roles-based administration model and componentized design to its x64-based scalability to its comprehensive security features. But to me, the most impressive change in Exchange 2007 is that the server was completely designed around the Windows PowerShell (formerly code-named Monad) command line and scripting environment. Like a UNIX server, Exchange 2007's GUI tools were built on top of this command-line interface, and not vice-versa as with earlier Microsoft solutions. This is a revolutionary change, and one that administrators will immediately benefit from as they discover the rich capabilities of PowerShell.

The next version of Windows Server, codenamed Longhorn, includes a new Server Core installation option that dispenses with the Windows GUI all together and provides a base line of functionality that's perfect for infrastructure servers such as DNS, DHCP, and so on. What's truly interesting about Server Core, however, is that it represents the logical conclusion of Microsoft's "secure by design, secure in deployment" mantra: Because Longhorn is componentized, Server Core, like all other Longhorn installation types, includes only that code needed to generate the services it supplies. It is, quite literally, as secure as it can be. By stripping Windows to its most basic parts, Microsoft has limited what the server can do, but it's also limited what can go wrong. Humorous bit: When Microsoft demonstrates this feature publicly, it routinely gets rowdy applause from admin crowds. You guys are such geeks.

Finally, even Vista gets into the command-line interface game, sort of. You might recall that earlier Windows versions used a simple boot.ini file to determine the configuration of the system on boot up. Although this behavior was determined by a text file, it was controlled via a GUI tool in the System Properties dialog box. In Vista (as in Longhorn Server), boot.ini has been replaced by a boot file named Boot Configuration Data (BCD). It's locked down, so you can't edit it easily, and Microsoft--get this--supplies only a command-line tool, bcdedit.exe, for editing BCD features. BCD comes with a new set of terminology, naturally, and if you want to set options such as the boot manager timeout or which OS options appear in the menu, you'll need to grok the command line. (I do expect, however, that enterprising admins will construct GUI front-ends to this.)

What this all means for Windows-based administrators is that it's time to bone up on your typing and scripting skills. There's a brave new world out there, and if you want to take advantage of it, you'll need to leave the familiarity and comfort of the Windows GUI behind.

End of Article



Reader Comments
ooh yea bring it up baby!!

netBT February 06, 2007 (Article Rating: )


Paul, any recommendations on where to start with these scripting skills?

TTrantham February 06, 2007 (Article Rating: )


"Real Admins use the command Line" --> Have you ever heard of UNIX??? I mean are there ANY admins that do not use the command line..??? I cant believe this guy.

This must be the second best "When Microsoft was freely handing out certifications back in the mid-1990s to anyone with a pen and a heartbeat, there was a real concern that Microsoft's certification program would become a joke" Apparently the writrer is implying that the MS ceritifcation is NOT a joke today... I cant believe these Vole Fanboys.

Anyhow, anybody with a high school degree can get a decent job these days - that doesnt include administering windows. But of course this genious living on the pulse of IT has heard of about it --> "But there's still a strange stigma hanging over the heads of Windows-based administrators, who are often perceived as being less technical, less knowledgeable, and in some cases, even less employable than their UNIX counterparts" HEHEHEEEHHEEE.... some of the funniest stuff I have heard in a while!!! I thinks its still probably a bit more "technical, knowledgeable etc." than writing about it!

Cheers,
\

k70026 February 06, 2007 (Article Rating: )


sounds good. but in reality..life is meant to be made easier. not harder. i love scripting, fine it interesting and have done it several times but stil i would prefer GUI to make my task FASTER. Time is everything. This is just a thought which doesnt necessaily mean that Im against the idea of scripting.

sambaram February 06, 2007 (Article Rating: )


I've been in IT for seven years now with little formal training. Unfortunately, I've had difficulty learning scripting and working with CLI for anything other than troubleshooting. I hope M$ keeps the GUI for most of their products.

lmusicof February 06, 2007 (Article Rating: )


In my everyday work I both use the GUI and command line. Both have their own advantages and disadvantages. Personally I think that it is nice to get more command line power at my fingertips.

rbeekman February 07, 2007 (Article Rating: )


The good thing about this is that finally the command line/scripting interface will be able to do exactly the same stuff as the graphical interface. It would be nice if the reverse was also true, but in many cases stuff that's only command-line based is too obscure/specialised for a MS-supplied GUI tool to be appropriate. Plenty of room for 3rd parties to write their own GUI tools as they see fit though. Would be great to get rid of having to use oShell.SendKeys!

robincm February 07, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
CES 2009: Ballmer Announces Windows 7, Windows Live, Live Search Milestones

During his first-ever Consumer Electronics Show (CES) 2009 keynote address last night in Las Vegas, Microsoft CEO Steve Ballmer announced the pending public availability of a feature-complete Windows 7, the final version of Windows Live Essentials, and ...

10 Reasons to Deploy Windows Vista

The decision to upgrade your XP systems to Vista is simple when you consider features such as easier backup, a great desktop search, and vastly improved security options. ...

10 Reasons Not to Deploy Windows Vista

The decision to upgrade to Vista has to make business sense, but many companies find the costs in training and application compatibility problems outweigh any benefits Vista brings. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

PowerShell 201 - eLearning Series with Paul Robichaux

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing