Repository navigation
Releases: webmd-health-services/Carbon
Releases · webmd-health-services/Carbon
Release list
2.16.0
Fixed
Remove-CEnvironmentVariablefails to remove environment variables in PowerShell 7.Carbon_EnvironmentVariableDSC resource fails to remove environment variables in PowerShell 7.- Objects returned by
Get-CHttpUrlAclmissing built-in extended type properties (e.g.Access,AccessToString,
etc.) in PowerShell 7.
Deprecated
Get-CPermission(and itsGet-CPermissionsalias),Grant-CPermission(and itsGrant-CPermissionsalias),
Revoke-CPermission, andTest-CPermissionfunctions. The functions moved to provider-specific to the following
provider-specific modules:- Carbon.Cryptography
Get-CPrivateKeyPermissionGrant-CPrivateKeyPermissionRevoke-CPrivateKeyPermissionTest-CPrivateKeyPermission
- Carbon.FileSystem
Get-CNtfsPermissionGrant-CNtfsPermissionRevoke-CNtfsPermissionTest-CNtfsPermission
- Carbon.Registry
Get-CRegistryPermissionGrant-CRegistryPermissionRevoke-CRegistryPermissionTest-CRegistryPermission
- Carbon.Cryptography
ConvertTo-CContainerInheritanceFlags,ConvertTo-InheritanceFlag, andConvertTo-PropagationFlag. If you switch to
the new provider-specific functions above, you won't need to use these functions anymore.ConvertTo-CSecurityIdentifier,Resolve-CIdentity,Resolve-CIdentityName, andTest-CIdentity. They moved to the
Carbon.Accounts module.Get-CScheduledTask,Install-CScheduledTask,Test-CScheduledTask, andUninstall-CScheduledTaskfunctions. They
moved to newCarbon.ScheduledTasksmodule.Get-CPrivilege,Grant-CPrivilege,Revoke-CPrivilege, andTest-CPrivilegefunctions. They moved to the
Carbon.Securitymodule.- Function
Get-CPathProvider. Migrated toCarbon.Coremodule. Get-CFileShare,Get-CFileSharePermission,Install-CFileShare(and itsInstall-SmbSharealias),
Test-CFileShare, andUninstall-CFileShare. TheInstall-CFileShare,Test-CFileShare, andUninstall-CFileShare
functions moved to newCarbon.SmbSharemodule asInstall-CSmbShare,Test-CSmbShare, andUninstall-CSmbShare,
respectively, where they were also updated to support PowerShell 7. Replace usages ofGet-CFileSharewith
Get-SmbShare,Get-CFileSharePermissionwithGet-SmbShareAccessfrom PowerShell's built-in SmbShare module.Install-CDirectory,New-CTempDirectory(and itsNew-TempDiralias), andUninstall-CDirectory. The functions
(not the alias) moved to theCarbon.FileSystemmodule, where they were also updated to support PowerShell 7.- All DSC resources and DSC-related functions, which have migrated to new Carbon.DSC module.
Carbon_EnvironmentVariableCarbon_FirewallRuleCarbon_GroupCarbon_IniFileCarbon_PermissionCarbon_PrivilegeCarbon_ScheduledTaskCarbon_ServiceClear-CDscLocalResourceCacheClear-CMofAuthoringMetadataCopy-CDscResourceGet-CDscErrorGet-CDscWinEvenInitialize-CLcmStart-CDscPullConfigurationTest-CDscTargetResourceWrite-CDscError
Remove-CEnvironmentVariable, moved to Carbon.Environment module.Set-CEnvironmentVariable, moved to Carbon.Environment module.- The following extended type properties on
[ServiceProcess.ServiceController]objects (returned byGet-Service).
Switch toGet-CServiceConfigurationin theCarbon.Windows.ServicePowerShell module.DelayedAutoStartDescriptionErrorControlFailureProgramFirstFailureLoadOrderGroupPathRebootDelayRebootDelayMinutesRebootMessageResetPeriodResetPeriodDaysRestartDelayRestartDelayMinutesRunCommandDelayRunCommandDelayMinutesSecondFailureStartModeStartTypeTagIDThirdFailureUserName
- The following Windows service functions. They've moved to the
Carbon.Windows.ServicePowerShell module where they
also now support PowerShell (pwsh.exe).Assert-CServiceGet-CServiceAclGet-CServiceConfigurationGet-CServicePermissionGet-CServiceSecurityDescriptorGrant-CServiceControlPermissionGrant-CServicePermissionInstall-CServiceRestart-CRemoteServiceRevoke-CServicePermissionSet-CServiceAclTest-CServiceUninstall-CService
Assert-CAdminPrivilege. It moved to theCarbon.AccountsPowerShell module asAssert-CRunAsElevatedwhere it
now supports PowerShell (pwsh) and Linux/macOS.Test-CAdminPrivilege. It moved to theCarbon.AccountsPowerShell module asTest-CAdminPrivilegewhere it
now supports PowerShell (pwsh) and Linux/macOS.- Local group management functions. They moved to the
Carbon.AccountsPowerShell module where they now support
PowerShell (pwsh.exe).Add-CGroupMember(asInstall-CLocalGroupMember)Get-CGroup(asGet-CLocalGroup)Install-CGroup(asInstall-CLocalGroup)Remove-CGroupMember(asUninstall-CLocalGroupMember)Test-CGroup(asTest-CLocalGroup)Test-CGroupMember(asTest-CLocalGroupMember)Uninstall-CGroup(asUninstall-CLocalGroupMember)
2.15.1
Fixed: warnings written about registry functions moving to new module that users can't do anything to remove (from internal usages).
2.15.0+1069
Deprecated
Moved the following functions to a new Carbon.Registry module. They will be removed from Carbon in a future major
version.
Get-CRegistryKeyValueInstall-CRegistryKeyRemove-CRegistryKeyValueSet-CRegistryKeyValueTest-CRegistryKeyValue
2.14.1+1066
Merge pull request #136 from webmd-health-services/bugfix/parameter-n…
2.14.0+1061
Merge pull request #135 from webmd-health-services/bugfix/creates-rc-…
2.13.0
Additions
Invoke-CCimMethodfunction for calling a method on an object that could be a WMI or CIM object.Uninstall-CFileSharefunction now accepts piped-in share objects (or any object with aNameproperty, really).Write-CCimErrorfunction for writing an error message based on the result object returned from a method call.
Changes
Install-CFileSharenow writes a more friendly message on PowerShell (Core) instead of "[Microsoft.Management.Infrastructure.CimInstance] does not contain a method named 'Delete'". We're unable to getInstall-CFileShareto work under PowerShell (Core).Install-CFileSharefunction now writes changes its making to the information stream.
Deprecated
These functions moved to the Carbon.Windows.HttpServer module. Update usages to use the Carbon.Windows.HttpServer
module instead of Carbon.
Get-CSslCertificateBindingRemove-CSslCertificateBindingSet-CSslCertificateBindingTest-CSslCertificateBinding
The Resolve-CFullPath function moved to the Carbon.Core module. Update usages to use the Carbon.Core module
instead of Carbon.
All IIS functions moved to the Carbon.IIS module. Updates usages to use the Carbon.IIS module instead of Carbon.
Add-CIisDefaultDocumentAdd-CIisServerManagerMemberDisable-CIisSecurityAuthenticationEnable-CIisDirectoryBrowsingEnable-CIisSecurityAuthenticationEnable-CIisSslGet-CIisApplicationGet-CIisAppPoolGet-CIisConfigurationSectionGet-CIisHttpHeaderGet-CIisHttpRedirectGet-CIisMimeMapGet-CIisSecurityAuthenticationGet-CIisVersionGet-CIisWebsiteInstall-CIisApplicationInstall-CIisAppPoolInstall-CIisVirtualDirectoryInstall-CIisWebsiteJoin-CIisVirtualPathLock-CIisConfigurationSectionRemove-CIisMimeMapSet-CIisHttpHeaderSet-CIisHttpRedirectSet-CIisMimeMapSet-CIisWebsiteIDSet-CIisWebsiteSslCertificateSet-CIisWindowsAuthenticationTest-CIisAppPoolTest-CIisConfigurationSectionTest-CIisSecurityAuthenticationTest-CIisWebsiteUninstall-CIisAppPoolUninstall-CIisWebsiteUnlock-CIisConfigurationSectionWrite-CIisVerbose
Fixes
- Carbon no longer generates backwards-compatible shims for new functions.
Install-CFileSharewasn't preserving the file share's SACL, group, or owner on its security descriptor.
2.12.0+947
Merge pull request #126 from webmd-health-services/develop Merging develop into master