Carbon 2.4.0 is out. You can download Carbon as a .ZIP archive, NuGet package, Chocolatey package, or from the PowerShell Gallery. It may take a week or two for the package to show up at chocolatey.org.
Protect-Stringcan now encrypt a
Stringparameter’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.
Disable-AclInheritanceto make it clearer what the function does. Created a
Protect-Aclalias in place to preserve backwards-compatability.
Disable-AclInheritanceonly disables inheritance if it is currently enabled.
Enable-AclInheritanceto re-enable access rule inheritance on file system and registry ACLs. This function is paired with
Get-ProgramInstallInfofails when a program’s
Versionregistry key value can’t be converted into a
Test-Servicefailed to detect if a device driver service is installed.
Install-Servicefails 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.)
Protect-Acl) fails when piped a registry key.
Get-PathProviderfails when passed a fully-qualified registry key PowerShell path, e.g.