Carbon v1.2 is out, is backwards compatible with v1.0 and v1.1 and supports PowerShell 3. (Future releases of Carbon will most likely only support PowerShell 3.) This release features mostly new functionality, including new functions for managing NTFS compression and performing XDT transformations. Thanks to Mark Sargent and Philip Teilmeier for contributing enhancements.
Enhancements
General
- Carbon now works under PowerShell v3.0!
Certificates
- Added support for IPv6 addresses to Get-SslCertificateBinding, Remove-SslCertificateBinding, and Set-SslCertificateBinding.
.NET
- Added
ProviderName
parameter to Set-DotNetConnectionString for setting a connection string’sproviderName
attribute/value.
File System
- Created Disable-NtfsCompression function for disabling NTFS compression on files/directories.
- Created Enable-NtfsCompression function for enabling NTFS compression on files/directories.
- Created Test-NtfsCompression function for testing if NTFS compression is enabled on a file/directory.
IIS
- The site object returned by Get-IisWebsite now as a
CommitChanges
method so you can persist modifications you make to the site. - Get-IisWebsite now returns all websites if no
SiteName
is given. - Created Set-IisWebsiteID function for explicitly setting a website’s ID.
INI
- Created Remove-IniEntry function for removing entries/settings from an INI file.
Performance Counters
- Install-PerformanceCounter now supports installing a base performance counter. Thanks to Philip Teilmeier for the contribution.
- Install-PerformanceCounter’s
Description
parameter is now optional.
PowerShell
- Invoke-PowerShell now defaults to running under the current CLR, instead of defaulting to a v2.0 CLR. This makes upgrading to PowerShell v3.0 easier.
- Invoke-PowerShell now writes an error and returns if running PowerShell v3.0 and you want to run under a v2.0 CLR. Unfortunately, PowerShell v3.0 requires .NET 4.0, so you can’t run anything on an earlier CLR.
Privileges
- Revoke-Privilege now supports case-insensitive privilege names.
- Updated Grant-Privilege to better handle when passing a privilege name with the wrong case.
- Updated Grant-Privilege documentation to make it clear privilege names are case-sensitive.
XML
- New Convert-XmlFile, for transforming an XML file with Microsoft’s XDT (XML Data Transformation) technology. Thanks to Mark Sargent for the contribution.
Bug Fixes
General
- Deleted the obsolete variable
$CarbonImported
. Carbon no longer exports any of its variables.
Certificates
- Get-SslCertificateBinding can’t parse bindings to IPv6 addresses.
Performance Counters
- Install-PerformanceCounter couldn’t be used to create counters that used/required a base counter. Thanks to Philip Teilmeier for the contribution.