Monday, October 19, 2009

Automate Administration with PowerShell

Windows PowerShell 2.0, a useful feature in Microsoft’s latest operating system, Windows 7, is a great boon to IT professionals yearning for a elevated management of computers in enterprises.

PowerShell 2.0 is built on the Microsoft .Net Framework and is especially designed for system administration providing great help to IT professionals to automate the administration of Windows operating system. The command tools in Windows PowerShell, named cmdlets, allows you to manage computers in enterprise.

Microsoft latest Windows 7 version also helps you to access data stores and supports Windows Management Instrumentation classes. The tool is designed to easily permit the addition of new features . Your own cmdlets, providers, functions and scripts can be added which enables you to use Windows technologies such as Active Directory Domain Services, Windows BitLocker Drive Encryption, the DHCP Server service, Group policy, etc.

IT professionals and developers might be most interested in these improved features in Windows 7 as it helps them to manage Windows at the command line. Developers can also use it to build script language

In a nutshell, following are the changes included in Windows 7 PowerShell:

1. More than 100 new cmdlets are included in Windows PowerShell.

2. Interactive session can be created with single computer and as many as computer can be run with the single command. A session can be established with it which allows you to receive remote commands from multiple computers.

3. With Windows PowerShell background jobs, you can continue to work on your session as the commands run in the background. Background jobs can be run on a local as well as on the remote computer.

4. With debugger, you can debug functions and scripts. Breakpoint can be set and removed with it and you can also check the values of the variables.

5. Modules in Windows PowerShell allows you to function as independent entity. Module package containing your cmdlets, providers, scripts, functions and other files can be distributed to the other users.

6. It supports new event infrastructure and transaction.

7. The messages and text can be displayed to users in multiple languages, with script internalization.

8. For enhanced user experience, not only help at the command line but also new online parameters are included in Get-Help cmdlet which opens updated version of each help topic.

0 comments: