Windows® PowerShell® 2.0
Windows PowerShell 2.0, a useful feature in the latest operating system from Microsoft, Windows 7, is a great boon to IT professionals yearning for a better management of computers in enterprises.
Windows 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.
It 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 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 2.0:
1. More than 100 new cmdlets are included in Windows PowerShell 2.0.
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 2.0 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 2.0 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 also supports transaction and new event infrastructure.
7. With script internalization, the messages and text can be displayed to users in multiple languages.
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.