Carbon 2.4.0

Carbon is a PowerShell module for automating the configuration Windows 7, 8, 2008, and 2012 and automation the installation and configuration of Windows applications, websites, and services. It can configure and manage:

* Local users and groups
* IIS websites, virtual directories, and applications
* File system, registry, and certificate permissions
* Certificates
* Privileges
* Services
* Encryption
* Junctions
* Hosts file
* INI files
* Performance counters
* Shares
* .NET connection strings and app settings
* And much more!

All functions are idempotent: when run multiple times with the same arguments, your system will be in the same state without failing or producing errors.

There is a newer version of this package available.
See the version list below for details.
Install-Package Carbon -Version 2.4.0
dotnet add package Carbon --version 2.4.0
<PackageReference Include="Carbon" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Carbon --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## Enhancements

* `Protect-String` can now encrypt a `SecureString`. The `String` parameter's type was changed to `[object]`. When you pass in a `SecureString`, it is converted to an array of bytes, encrypted, and the array of bytes are cleared from memory.
* Renamed `Protect-Acl` to `Disable-AclInheritance` to make it clearer what the function does. Created a `Protect-Acl` alias in place to preserve backwards-compatability.
* `Disable-AclInheritance` only disables inheritance if it is currently enabled.
* Created `Enable-AclInheritance` to re-enable access rule inheritance on file system and registry ACLs. This function is paired with `Disable-AclInheritance`.

## Bug Fixes

* Fixed: `Get-ProgramInstallInfo` fails when a program's `Version` registry key value can't be converted into a `Version` object.
* Fixed: `Test-Service` failed to detect if a device driver service is installed.
* Fixed: `Install-Service` fails if a service depends on a device driver. (Note: in our testing, we can't get a device driver set as a dependency. If you know what the secret sauce is to get this to work with sc.exe (or another means), please let us know.)
* Fixed: `Disable-AclInheritance` (ne `Protect-Acl`) fails when piped a registry key.
* Fixed: `Get-PathProvider` fails when passed a fully-qualified registry key PowerShell path, e.g. `Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software`.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.8.1 1,584 3/26/2019
2.8.0 288 3/25/2019
2.7.0 671 12/11/2018
2.6.0 2,243 7/8/2018
2.5.4 1,156 6/2/2018
2.5.3 423 6/1/2018
2.5.2 410 6/1/2018
2.5.1 419 6/1/2018
2.5.0 17,610 6/18/2017
2.4.1 8,155 2/21/2017
2.4.0 1,796 11/9/2016
2.3.0 727 9/29/2016
2.2.0 61,160 5/12/2016
2.1.1 718 2/25/2016
2.1.0 597 2/9/2016
2.0.1 795 10/20/2015
2.0.0 670 10/11/2015
1.8.0 1,621 9/22/2014
1.7.0 1,006 5/3/2014
Show less