advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
Rate this item | 0 users have rated this item.
 Print Print
 
A Return to Command-Line Control with Windows Powershell
The new Windows Powershell not only provides flow of control, but the strong typing of its variables and expressions enables you to manipulate them and create scripts that leverage the .NET Framework. 

advertisement
ack in the days of personal computing, the user could control almost every aspect of his or her machine's environment and behavior from the command line. If you really needed extra power, GW-BASIC let you interact with the system. As Windows got bigger and bigger, the graphical user interface (GUI) dominated the computing model, seducing non-technical users with its point-and-click ease. But the ascendancy of the graphical metaphor enucleated the command line and forced users to use the mouse for everything, which left the command line dormant and unimproved since DOS 6, the last stand of the command line. Well, the capability and control offered by the command line is back in spades.

A couple of years ago, many Windows Server professionals were expecting to use Windows Scripting Host (WSH) for administrative jobs such as collecting performance data. However, security vulnerabilities led to that tool's fall from grace. Most turned to UNIX and its powerful scripting facilities, which don't carry the weight associated with facilitating similar features in Windows.

UNIX shells contain numerous tiny utilities that hold to the maxim: "do one thing and do it well." However, the way to tap into the real power of these shells is to leverage the output of one program as input to the next by using pipes and redirection. Attaining similar functionality in Windows requires significantly more overhead, including a framework, another language(s), and even a new IDE (Did we just invent YASDE?).

All this extra stuff was necessary because commands that came with the command shell were basically the same ones you got from, say, DOS 2.0, when "print" became part of the command processor instead of an application. That is, as we were swallowed up by the hegemony of the GUI, it took more and more horsepower to do what previously was direct and efficient.

  Next Page: Data Cleansing: Powershell Versus UNIX Shell Scripting
Page 1: IntroductionPage 3: WMI Made Easy
Page 2: Data Cleansing: Powershell Versus UNIX Shell Scripting 
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES