The Community Technology Preview (CTP) of Windows PowerShell 2.0

The Community Technology Preview (CTP) of Windows PowerShell 2.0

  • Comments 20

 

The Windows PowerShell Team is pleased to release the first Community Technology Preview (CTP) of Windows PowerShell 2.0!

This release provides a “sneak peak” into the future, including key features that empower Windows administrators to: Run commands on a remote computer, or better, against N other computers.  Use the new PSJob cmdlets to start remote jobs and retrieve the results, either individually or in-aggregate!  Write real cmdlets in PowerShell script itself!  Internationalize your scripts and their output, not to mention debugging those same scripts!

This CTP release helps developers to more easily layer their runtime or GUI on top of PowerShell, leveraging its cmdlets and remoting infrastructure.  It includes APIs to create and use a pool of Runspaces (engines) to run cmdlets.  This release also presents very early looks at Restricted Runspaces (the ability to declare a script, cmdlet or variable public or private) and the Graphical PowerShell (a script editor and a Unicode-enabled console).  These are just a few of the new features I think are interesting in Windows PowerShell 2.0 CTP.  Additionally this CTP includes some simple updates... like new parameters to select-string (Context, AllMatches, NotMatch and Encoding) and new operators like –split and -join!

Last but certainly not least, V2 builds upon Windows PowerShell 1.0 by providing backward compatibility – your 1.0 cmdlets and scripts will run on this CTP (with the exceptions noted in the Release Notes - mostly new keywords/cmdlets).  If a working 1.0 script doesn’t run on V2 and is not in the known list of exceptions, please tell us about it!

We hope you like where we’re headed with this release.  Help us get it right!  Tell us what is good and what is bad.  We have explicitly chosen to provide a public preview as early as possible to give us the best chance to incorporate feedback.

A CTP, by its very nature, is early code and thus WILL CHANGE by the final release.  It is explicitly not tested to the quality of a Beta in order to release it in a time frame that will give us a chance to act on feedback.  Even with those caveats, I hope you are pleased with results!  Try it out!

Download Windows PowerShell 2.0 CTP

Kenneth Hansen [MSFT]

Principal Lead Program Manager

Windows PowerShell

 

Release Highlights

This is a summary list of features added for the CTP of Windows PowerShell 2.0.  More descriptions are found in the "What's New in Windows PowerShell 2.0 CTP" link below, in the Release Notes and in the “about” files that ship with the release.

Ø  Compatibility with PowerShell 1.0

Ø  PowerShell Remoting

Ø  Background Jobs

Ø  ScriptCmdlets

Ø  Data-only Language

Ø  Script Internationalization

Ø  Script Debugging

Ø  New APIs for extracting Metadata from Commands and Parameters

Ø  New Parser Tokenizer API

Ø  New PowerShell Hosting APIs

Ø  Pools of Runspace

Ø  Restricted Runspaces

Ø  Graphical PowerShell

Ø  Out-GridView cmdlet

Additionally a number of improvements have been made to existing Cmdlets and capabilities, including:

Ø  Changes to TabExpansion function

Ø  New parameters added to Select-String

Ø  Updated Type Adapters

Ø  Improvements to Get-Member

Ø  Improved ADSI support

Ø  New parameters added to Get-WMIObject

Ø  Improved Bitwise Operators (int64)

For details checkout this blog: What’s New in Windows PowerShell 2.0 CTP

 

Submitting Feedback

As stated, the intent of this CTP is to get your feedback.  Please submit your feedback using the Connect Website (adding a CTP: to the title), posting on the Windows PowerShell Discussion Group, or commenting on the Windows PowerShell Blog.

Caveats

This software is a pre-release version.  It will not work the way a final version of the software does.  Features will change before final release.  See the blogs below and the Release Notes for further information on restrictions.

CTP != Beta !

Platform Requirements

Versioning

CTP: Watch this Space

 

Leave a Comment
  • Please add 1 and 5 and type the answer here:
  • Post
  • > Will/Does powershell support tabs such as IE 7 tabs?

    Graphical PowerShell has horizontal TABS for different scripts and vertical TABs for different runspaces (try CTRL-T).

    Is this what you wanted?

    Jeffrey Snover [MSFT]

    Windows Management Partner Architect

    Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell

    Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

  • After installing Version 2.0 i can no longer run simple commands, (nslookup, ping, etc.) i get the following error:

    PS H:\> nslookup

    The term 'nslookup' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try

    again.

    At line:1 char:9

    + nslookup <<<<

    PS H:\>

    Any ideas, install went well with no problems.

    Thanks,

    Shane

  • Does it repros on the new CTP2 bits? Is your environment path set correctly?

  • Join us today as we discuss The Vaccine Book b y Robert W. Sears. This is the second time that contributors of Silicon Valley Moms Blog , Chicago Moms Blog, DC Metro Moms Blog and NYC Moms Blog (along with the rest our friends throughout the blogsphere)

  • math strategy taking test [URL=http://kamada.strefa.pl/page1055.html]math strategy taking test[/URL] [url=http://kamada.strefa.pl/page1055.html]math strategy taking test[/url] [url]http://kamada.strefa.pl/page1055.html[/url]

Page 2 of 2 (20 items) 12