Although the PowerShell Script Language (PSL) supports common programming structures such as "if-then-else" and "while," it is generally less complicated to deal with than Microsoft scripting languages such as VBScript and JScript. Operations in PowerShell may take far fewer lines of code than in VBScript or JScript (see Windows Script Host).
A Lot of Unix; a Little DOS
PowerShell rivals the Unix command line, which allows extensive manipulation of data via commands and scripts and has been the envy of DOS and Windows programmers for decades. Unix commands are naturally part of Linux and Mac OS X, and PowerShell supports both DOS and Unix mnemonics. For example, to list file names in PowerShell, both dir (DOS) and ls (Unix) can be used.
Low-Level Access and Commandlets (Cmdlets)
PowerShell uses the .NET environment and enables administrators to get to the heart of OS activities, such as listing and stopping active processes. PowerShell scripts can access the class libraries in the .NET Framework, Component Object Model (COM) and Windows Management Instrumentation (WMI). The more than 125 PowerShell commands, such as list, copy, move and rename, are called "commandlets" or "cmdlets" for short, and script files use .PS# extensions; the # being the version number such as .PS1. See .NET, COM, WMI and command line.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- FastTrack Scripting Host 5.4 Build 1958 (Windows)
- FastTrack Scripting Host is a complete replacement for VBScript/WSH, Bat files, PowerShell and all other scripting tools. Once you tried FastTrack, you will never use any of them again. You can create logon scripts, install scripts, backup scripts, administrative tasks and anything else you use scripts for with awesome end-user...
- Software downloads 2009-11-26
- Take Command/LE 11.0 build 33 (Windows)
- Take Command/LE, Is a basic version of our Take Command product with our most popular features, intended for home power users and small business environments. The ease of use of Windows File Explorer merged with the power of the command line - manipulate files at the command line and graphically...
- Software downloads 2009-11-10
- Windows 7 killer deals commence; 7 days of PC specials, $30 OS upgrade
- That Best Buy deal ain't bad at all......stop Geek Squad at the door take the merchandise pop in the Ubuntu CD's and I'm ready to go. Thanks Win 7 for the cheap hardware.Apple should be offering deals now, tooJust to steal some thunder from the Win 7 (vista 2.0) over-hype.Fanboi...
- Discussion threads 2009-10-22
- An IT Pro's Overview of Windows 7
- The release of Windows 7 is a significant event for most IT pros. This comprehensive overview of the new tools and features will tell you what you can expect from the new OS and help you make a decision about a possible upgrade. Find out about Windows...
- Download resources 2009-10-12
- 10 reasons why you should learn to use PowerShell
- PowerShell combines command-line speed, the flexibility of scripting, and the power of a GUI-based admin tool. See why now might be the time to master it.This download is also available as an entry in our 10 Things blog.
- Download resources 2009-10-06
- PowerShell Help Reader 1.1 (Windows)
- The PowerShell Help Reader is a WPF-based extensible Viewer for Microsoft Windows PowerShell Help System. Simple MSDN-like User Interface provides fast and easy way to learn, explore and find help information.
- Software downloads 2009-09-17
- TechNet Webcast: Using Windows PowerShell With Hyper-V and Virtual Machine Manager (Level 300)
- Windows PowerShell is likely to become the automation tool of choice. The presenter of this webcast will provide examples of Windows PowerShell being used to perform common administration tasks in Hyper-V and Microsoft System Center Virtual Machine Manager. This webcast will compare the two automation methods in detail, and the...
- Webcasts 2009-09-10
- TR Dojo: Five Windows command prompt tips every IT pro should know
- PowerShellJust use PowerShell. It comes with an integrated script environment which has full editor support etc.
- Discussion threads 2009-09-01
- College System to Cut Deployment Costs for Disaster Recovery Site by Nearly 80 Percent
- campuses and more than 100,000 students that depend on online access. To better serve them, KCTCS wanted a more flexible IT infrastructure and improved stability, but it also needed an affordable solution. KCTCS is meeting these goals by implementing Windows Server 2008 R2 with Hyper-V virtualization technology. By deploying virtual...
- Case studies 2009-09-01
- Momentum Webcast: Windows 7 and Hyper-V Deep Dive (Level 100)
- Are you interested in boosting your business by combining the power of the Windows 7 operating system with Hyper-V virtualization? The attendee of this webcast will learn how the Windows 7 and Windows Server 2008 R2 operating systems work together to: Employ state-of-the-art disaster recovery techniques utilizing...
- Webcasts 2009-08-19
- EC2Dream 0.92 (Windows)
- EC2Dream is a free Graphical System Admin tool aimed at Amazon EC2 and Eucalyptus System Administration. It is designed to complement the Amazon AWS Management console. It installs on Windows, Linux and Mac OS X client machines. Features include: support for Amazon EC2 and Eucalyptus; multiple environments based on access...
- Software downloads 2009-08-18
- Signs show Linux moving into the driver's seat
- Just Works!Yes, it is a very good situation to have Linux moving "into the driver's seat".I install my preferred distros on my boxes, notebooks and netbooks and everything just works.Very nice indeed.Unfortunate Driver ModelUntil Linux re-architects the driver model to detach most of them from the kernel, there will be...
- Discussion threads 2009-08-14
- Pragma Telnet Server 7.0 (Windows)
- Pragma Telnet Server is the Windows Telnet server that 500 companies use. It is industrial grade, reliable and high-performance. Connect from Unix/Linix//Mac/mobile devices. Supports session reconnects. Handhelds can be connected easily and reliably. Highly scalable and can run over a thousand simultaneous telnet sessions to a server. SAPConsole fully supporrted,...
- Software downloads 2009-08-12
- Windows PowerShell in Windows Server 2008 R2
- By enabling applications built on Windows PowerShell to manage anything and everything, be it a server, client, distributed system, application, service, hardware, or other operating system, Windows PowerShell was designed to reduce the cost and effort required to manage IT infrastructure. The intuitive interface, rich built-in help, and extensive online...
- White papers 2009-08-01
- Managing Windows Server 2008 R2
- Microsoft Windows Server 2008 R2 represents a significant milestone in Microsoft's ongoing efforts to help customers streamline the management of their unique IT infrastructures. This white paper begins with a brief discussion of today's IT management challenges. It discusses many new and improved management consoles that help centralize management tasks...
- White papers 2009-08-01
- TechNet Webcast: New Server Migration and Server Manager Functionality in Windows Server 2008 R2 (Level 300)
- The presenter will explore Server Migration capabilities and new server administration improvements with the Initial Configuration Tasks ICT and Server Manager. The presenter will first discuss the supported Migration Scenarios. Then the presenter will explain how Technet Migration Guides can be used to speed up server migration. Next, the presenter...
- Webcasts 2009-07-16
- TechNet Webcast: Windows Server 2008 R2 and Windows 7 Group Policy Changes (Level 300)
- The presenter of this webcast will explore Group Policy enhancements in Windows Server 2008 R2 and Windows 7. The presenter will show how Administrative template improvements make it easier to configure and Group Policy preference improvements to configure defaults for non-Group Policy-aware Windows components. Then the presenter will discuss Starter...
- Webcasts 2009-07-14
- TechNet Webcast: Windows Server 2008 R2 Remote Desktop Services Technical Overview (Level 300)
- The presenter of this webcast will examine Remote Desktop Services for Windows Server 2008 R2. The presenter will begin by discussing user experience improvements in RemoteApp and Remote Desktop. Then the presenter will discuss remote application improvements by integrating Applications in start menu. Next, he will explore Remote Desktop Services...
- Webcasts 2009-07-09
- Automating Citrix XenApp on XenServer Deployments on HP ProLiant Servers
- Citrix and HP have jointly developed and tested an automated deployment solution that is as powerful as it is cost-effective. This allows one to use RDP in conjunction with Citrix-developed PowerShell cmdlets to deploy XenServer VMs to a XenApp server farm hosting published applications. Citrix and HP jointly developed this...
- White papers 2009-07-01
- Updating Your Technology Knowledge of Microsoft Windows XP to Windows 7 Beta
- View Available Dates and LocationsIn this three-day instructor-led course for experienced Windows XP users, you will gain the knowledge and skills to work with the new technologies in Windows Vista and Windows 7 Beta. This course incorporates material from the Official Microsoft Learning Product 6291: Updating...
- Training 2009-07-01
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
- Save time with automated shipping solutions
-
The Business Essentials Guide provides you useful tools and templates to help grow your business and save you time with automated shipping solutions.
- Visit the UPS Business Essentials Guide
-
-
Smart Tech
Expert advice on innovations in healthcare and the green technologies that make it happen.
Find out more
-
Smart Business
Discussion and advice on management issues that revolve around making your world smarter and more useful.
More Smart Advice
-
Smart People
The best and worst moves in the management and strategy trenches.
Learn More






