Announcing PowerShell Crescendo Release Candidate (RC)
Announcing Crescendo 0.9.0 Release Candidate (RC)
We are pleased to announce the Release Candidate (RC) of PowerShell Crescendo, a framework torapidly develop PowerShell cmdlets for native commands, regardless of platform.
The release candidate is now available for download on thePowerShell Gallery.
To install Microsoft.PowerShell.Crescendo:
Install-Module Microsoft.PowerShell.Crescendo -AllowPrerelease
Crescendo Release Candidate Updates
Crescendo 0.9.0 Release Candidate adds support for a versioned schema and fixes scenariossuggested by the community.
- Added versioned schema to support future updates.Issue #112
- Fixed quoting empty string parameter values.Issue #100
- Fixed showing OriginalCommand in help example unless specified.Issue #57
Schema versioning
With this release of Crescendo, the JSON schema for the configuration is now versioned. While wedon’t expect there to be any changes, supporting a versioned schema makes is easier to supportchanges in future releases.
The URL for the current version of the schema is: https://aka.ms/PowerShell/Crescendo/Schemas/2021-11
.
Support for empty string parameter values
Crescendo now supports parameters that accept empty strings as argument values. The proxy cmdletcreated by Crescendo now recognizes an empty string provided as parameter value and ensures that theempty string is passed as ""
to the native executable.
For a more detailed example use case, seeIssue #100.
Displaying OriginalCommand in Help
The OriginalCommand property of a cmdlet definition is intended to contain the original nativecommand and parameters invoked by the proxy cmdlet. This information is display by Get-Help
. Withthis release, if the OriginalCommand property is empty, no placeholder is written to thecomment-based help when the module is exported.
More information
For more information about Microsoft.PowerShell.Crescendo, check out the previous posts on thePowerShell Team blog.
For more information using Microsoft.PowerShell.Crescendo, check out this excellent blog seriesby Sean Wheeler on thePowerShell Community blog.
Future plans
The plans for the general availability (GA) release will be based on community feedback. Our goal isto make it easier to convert your native commands to PowerShell cmdlets and receive the benefitsthat PowerShell provides.
We value your ideas and feedback and hope you will give Crescendo a try. Stop by ourGitHub repository and let us know of any issues you findor features you would like added.
0 comments