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.
- Carbon now works under PowerShell v3.0!
- Added support for IPv6 addresses to Get-SslCertificateBinding, Remove-SslCertificateBinding, and Set-SslCertificateBinding.
ProviderNameparameter to Set-DotNetConnectionString for setting a connection string’s
- 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.
- The site object returned by Get-IisWebsite now as a
CommitChangesmethod so you can persist modifications you make to the site.
- Get-IisWebsite now returns all websites if no
- Created Set-IisWebsiteID function for explicitly setting a website’s ID.
- Created Remove-IniEntry function for removing entries/settings from an INI file.
- Install-PerformanceCounter now supports installing a base performance counter. Thanks to Philip Teilmeier for the contribution.
Descriptionparameter is now optional.
- 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.
- 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.
- New Convert-XmlFile, for transforming an XML file with Microsoft’s XDT (XML Data Transformation) technology. Thanks to Mark Sargent for the contribution.
- Deleted the obsolete variable
$CarbonImported. Carbon no longer exports any of its variables.
- Get-SslCertificateBinding can’t parse bindings to IPv6 addresses.
- Install-PerformanceCounter couldn’t be used to create counters that used/required a base counter. Thanks to Philip Teilmeier for the contribution.