CTP2 of Windows PowerShell V2 Released

Microsoft released Community Technology Preview 2 (CTP2) for Windows PowerShell Version 2, according to an announcement issued last Friday.

Windows PowerShell is a shell environment for network administrators with a command-line interface that can be used to automate server management and reporting functions. It works in conjunction with the .NET Framework (specifically .NET 2.0 in the case of CTP2) and features its own dynamically typed scripting language.

Microsoft is releasing the CTP2 of Windows PowerShell V2 to get feedback from users prior to the beta release. This CTP2 is not a beta and should not be run in a production environment, warned a Microsoft blog.

One of the new features in CTP2 is "PowerShell remoting," which lets the operator run commands on "one or more remote computers from a single computer running Windows PowerShell," according to the release notes for CTP2. You can also host Windows PowerShell on Microsoft Internet Information Services (IIS) and create a network service that supports remote PowerShell sessions.

One user, commenting in the Windows PowerShell discussion group, complained about a lack of remoting support for Microsoft's older operating systems

"CTP2 rips out support for remoting and background jobs on Windows XP and Server 2003, where these features appeared to be working perfectly fine for me with CTP1," he wrote.

The registry in CTP2 now supports transaction processing. Users can start, commit and rollback a transaction via the use of "cmdlets," which are .NET classes designed to carry out a particular operation.

This CTP2 version also features modules, which can be used to organize scripting code into "self-contained, reusable units," according to the release notes.

An "eventing" feature was added to CTP2 that indicates state changes based on system events. PowerShell scripts can be written to subscribe to certain events for synchronous or asynchronous processing.

A graphical version of PowerShell is also part of CTP2, although you need to use .NET Framework 3.0 to enable it.

To download CTP2 for Windows PowerShell V2 and get the release notes, go here.

CTP2 works on "x86 and x64 platforms of Windows XP-SP2, Windows Server 2003-SP2, Windows Vista-SP1, and Windows Server 2008," according to Microsoft.

About the Author

Kurt Mackie is online news editor, Enterprise Group, at 1105 Media Inc.

Featured

  • abstract AI technology

    New AI Command Center Helps Track AI Agents and Control Costs

    Data protection platform AvePoint has launched a command center to help organizations monitor artificial intelligence agents, addressing security risks and rising expenses as organizations deploy more automated AI tools.

  • hand typing on laptop with security and email icons

    Copilot Gets Expanded Role in Office, Outlook, and Security

    Microsoft has doubled down on its Copilot strategy, announcing new agents and capabilities that bring deeper intelligence and automation to everyday workflows in Microsoft 365.

  • abstract generative AI technology

    Apple and Google Strike AI Deal to Bring Gemini Models to Siri

    Apple and Google announced they have embarked on a multiyear partnership that will put Google's Gemini models and cloud technology at the core of the next generation of Apple Foundation Models, a move that could help Apple accelerate long-promised upgrades to Siri while handing Google a high-profile distribution win on the iPhone.

  • Businessman holding Chatbot with binary code, message and data 3d rendering

    Anthropic Criticizes OpenAI Ad Strategy

    Anthropic recently launched a multi-million dollar Super Bowl advertising campaign criticizing OpenAI's decision to start showing ads within ChatGPT.