Carbon
2.9.0-rc587
* Local users and groups
* IIS websites, virtual directories, and applications
* File system, registry, and certificate permissions
* Certif
* 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.
Minimum PowerShell version
4.0
See the version list below for details.
Installation Options
Owners
Copyright
Aaron Jensen and WebMD Health Services
Package Details
Author(s)
- Aaron Jensen
Tags
.net acl active-directory certificates com compression computer credential cryptography directory dsc dsc-resources encryption environment file-system firewall groups hosts-file http identity iis ini installers internet-explorer ip junctions msi msmq netsh networking ntfs operating-system os path performance-counters powershell principal privileges programs registry rsa scheduled-tasks security service shares sid smb ssl text trusted-host users wcf windows windows-features xml zip DscResources setup automation admin
Functions
Add-CGroupMember Add-CIisDefaultDocument Add-CTrustedHost Assert-CAdminPrivilege Assert-CFirewallConfigurable Assert-CService Clear-CDscLocalResourceCache Clear-CMofAuthoringMetadata Clear-CTrustedHost Complete-CJob Compress-CItem ConvertFrom-CBase64 Convert-CSecureStringToString ConvertTo-CBase64 ConvertTo-CContainerInheritanceFlags ConvertTo-CInheritanceFlag ConvertTo-CPropagationFlag ConvertTo-CSecurityIdentifier Convert-CXmlFile Copy-CDscResource Disable-CAclInheritance Disable-CFirewallStatefulFtp Disable-CIEEnhancedSecurityConfiguration Disable-CIisSecurityAuthentication Disable-CNtfsCompression Enable-CAclInheritance Enable-CFirewallStatefulFtp Enable-CIEActivationPermission Enable-CIisDirectoryBrowsing Enable-CIisSecurityAuthentication Enable-CIisSsl Enable-CNtfsCompression Expand-CItem Find-CADUser Format-CADSearchFilterValue Get-CADDomainController Get-CCertificate Get-CCertificateStore Get-CComPermission Get-CComSecurityDescriptor Get-CDscError Get-CDscWinEvent Get-CFileShare Get-CFileSharePermission Get-CFirewallRule Get-CGroup Get-CHttpUrlAcl Get-CIisApplication Get-CIisAppPool Get-CIisConfigurationSection Get-CIisHttpHeader Get-CIisHttpRedirect Get-CIisMimeMap Get-CIisSecurityAuthentication Get-CIisVersion Get-CIisWebsite Get-CIPAddress Get-CMsi Get-CMsmqMessageQueue Get-CMsmqMessageQueuePath Get-CPathProvider Get-CPathToHostsFile Get-CPerformanceCounter Get-CPermission Get-CPowerShellModuleInstallPath Get-CPowershellPath Get-CPrivilege Get-CProgramInstallInfo Get-CRegistryKeyValue Get-CScheduledTask Get-CServiceAcl Get-CServiceConfiguration Get-CServicePermission Get-CServiceSecurityDescriptor Get-CSslCertificateBinding Get-CTrustedHost Get-CUser Get-CWindowsFeature Get-CWmiLocalUserAccount Grant-CComPermission Grant-CHttpUrlPermission Grant-CMsmqMessageQueuePermission Grant-CPermission Grant-CPrivilege Grant-CServiceControlPermission Grant-CServicePermission Initialize-CLcm Install-CCertificate Install-CDirectory Install-CFileShare Install-CGroup Install-CIisApplication Install-CIisAppPool Install-CIisVirtualDirectory Install-CIisWebsite Install-CJunction Install-CMsi Install-CMsmq Install-CMsmqMessageQueue Install-CPerformanceCounter Install-CRegistryKey Install-CScheduledTask Install-CService Install-CUser Install-CWindowsFeature Invoke-CAppCmd Invoke-CPowerShell Join-CIisVirtualPath Lock-CIisConfigurationSection New-CCredential New-CJunction New-CRsaKeyPair New-CTempDirectory Protect-CString Read-CFile Remove-CDotNetAppSetting Remove-CEnvironmentVariable Remove-CGroupMember Remove-CHostsEntry Remove-CIisMimeMap Remove-CIniEntry Remove-CJunction Remove-CRegistryKeyValue Remove-CSslCertificateBinding Reset-CHostsFile Reset-CMsmqQueueManagerID Resolve-CFullPath Resolve-CIdentity Resolve-CIdentityName Resolve-CNetPath Resolve-CPathCase Resolve-CRelativePath Restart-CRemoteService Revoke-CComPermission Revoke-CHttpUrlPermission Revoke-CPermission Revoke-CPrivilege Revoke-CServicePermission Set-CDotNetAppSetting Set-CDotNetConnectionString Set-CEnvironmentVariable Set-CHostsEntry Set-CIisHttpHeader Set-CIisHttpRedirect Set-CIisMimeMap Set-CIisWebsiteID Set-CIisWebsiteSslCertificate Set-CIisWindowsAuthentication Set-CIniEntry Set-CRegistryKeyValue Set-CServiceAcl Set-CSslCertificateBinding Set-CTrustedHost Split-CIni Start-CDscPullConfiguration Test-CAdminPrivilege Test-CDotNet Test-CDscTargetResource Test-CFileShare Test-CFirewallStatefulFtp Test-CGroup Test-CGroupMember Test-CIdentity Test-CIisAppPool Test-CIisConfigurationSection Test-CIisSecurityAuthentication Test-CIisWebsite Test-CIPAddress Test-CMsmqMessageQueue Test-CNtfsCompression Test-COSIs32Bit Test-COSIs64Bit Test-CPathIsJunction Test-CPerformanceCounter Test-CPerformanceCounterCategory Test-CPermission Test-CPowerShellIs32Bit Test-CPowerShellIs64Bit Test-CPrivilege Test-CRegistryKeyValue Test-CScheduledTask Test-CService Test-CSslCertificateBinding Test-CTypeDataMember Test-CUncPath Test-CUser Test-CWindowsFeature Test-CZipFile Uninstall-CCertificate Uninstall-CDirectory Uninstall-CFileShare Uninstall-CGroup Uninstall-CIisAppPool Uninstall-CIisWebsite Uninstall-CJunction Uninstall-CMsmqMessageQueue Uninstall-CPerformanceCounterCategory Uninstall-CScheduledTask Uninstall-CService Uninstall-CUser Uninstall-CWindowsFeature Unlock-CIisConfigurationSection Unprotect-CString Write-CDscError Write-CFile
DSCResources
Carbon_EnvironmentVariable Carbon_FirewallRule Carbon_Group Carbon_IniFile Carbon_Permission Carbon_Privilege Carbon_ScheduledTask Carbon_Service
Dependencies
This module has no dependencies.
Release Notes
* Carbon should now import in less than a second.
* Fixed: `Grant-CHttpUrlPermission` documentation uses command named `Grant-CHttpUrlAclPermission`. (Fixes [issue 66](https://github.com/webmd-health-services/Carbon/issues/66).)
* Fixed: `Enable-CNtfsCompression` always enables compression even if compression is already enabled.
* Fixed: `Disable-CNtfsCompression` always disables compression even if compression is already disabled.
* Fixed: `Uninstall-CService` can write an error when a service's process exits at unexpected times.
* Fixed: `Get-CUser` can sometimes take 60 to 90 seconds to lookup a specific user.
* Fixed: `Get-CGroup` can sometimes take 60 to 90 seconds to lookup a specific group.
* Improved `Set-CEnvironmentVariable` and `Remove-CEnvironmentVariable` functions' reliability when setting and removing variables for a specific user (they now use `Start-Job` instead of Carbon's `Invoke-CPowerShell`).
* Fixed: Carbon was hiding the ServerManager module's `Get-WindowsFeature`, `Install-WindowsFeature`, and `Uninstall-WindowsFeature` cmdlets (fixes issue #55).
* Fixed: `Set-CHostsEntry` can sometimes clear the hosts file (fixes issue #39).
* Fixed: `Get-CServiceConfiguration` fails with a terminating exception if a service doesn't exist.
FileList
- Carbon.nuspec
- Carbon.format.ps1xml
- Carbon.psd1
- Carbon.psm1
- Carbon.types.ps1xml
- Import-Carbon.ps1
- LICENSE.txt
- NOTICE.txt
- bin\Ionic.Zip.dll
- bin\Protect-String.ps1
- bin\Remove-DotNetAppSetting.ps1
- bin\Remove-EnvironmentVariable.ps1
- bin\Set-DotNetAppSetting.ps1
- bin\Set-DotNetConnectionString.ps1
- bin\Set-EnvironmentVariable.ps1
- bin\Use-CarbonPrefix.ps1
- bin\coreclr\Carbon.deps.json
- bin\coreclr\Carbon.dll
- bin\coreclr\Carbon.Iis.deps.json
- bin\coreclr\Carbon.Iis.dll
- bin\coreclr\Carbon.Iis.pdb
- bin\coreclr\Carbon.pdb
- bin\coreclr\Carbon.Xdt.deps.json
- bin\coreclr\Carbon.Xdt.dll
- bin\coreclr\Carbon.Xdt.pdb
- bin\coreclr\Microsoft.Web.Administration.dll
- bin\coreclr\Microsoft.Web.XmlTransform.dll
- bin\coreclr\Microsoft.Win32.Registry.dll
- bin\coreclr\System.Buffers.dll
- bin\coreclr\System.Diagnostics.EventLog.dll
- bin\coreclr\System.DirectoryServices.AccountManagement.dll
- bin\coreclr\System.Memory.dll
- bin\coreclr\System.Numerics.Vectors.dll
- bin\coreclr\System.Reflection.TypeExtensions.dll
- bin\coreclr\System.Runtime.CompilerServices.Unsafe.dll
- bin\coreclr\System.Security.AccessControl.dll
- bin\coreclr\System.Security.Claims.dll
- bin\coreclr\System.Security.Permissions.dll
- bin\coreclr\System.Security.Principal.dll
- bin\coreclr\System.Security.Principal.Windows.dll
- bin\coreclr\System.ServiceProcess.ServiceController.dll
- bin\coreclr\System.Threading.dll
- bin\coreclr\runtimes\unix\lib\netstandard1.3\Microsoft.Win32.Registry.dll
- bin\coreclr\runtimes\unix\lib\netstandard1.3\System.Diagnostics.TraceSource.dll
- bin\coreclr\runtimes\unix\lib\netstandard1.3\System.Security.Principal.Windows.dll
- bin\coreclr\runtimes\unix\lib\netstandard1.5\System.ServiceProcess.ServiceController.dll
- bin\coreclr\runtimes\unix\lib\netstandard2.0\Microsoft.Win32.Registry.dll
- bin\coreclr\runtimes\win\lib\netstandard1.3\Microsoft.Win32.Registry.dll
- bin\coreclr\runtimes\win\lib\netstandard1.3\System.Diagnostics.TraceSource.dll
- bin\coreclr\runtimes\win\lib\netstandard1.3\System.Security.AccessControl.dll
- bin\coreclr\runtimes\win\lib\netstandard1.3\System.Security.Principal.Windows.dll
- bin\coreclr\runtimes\win\lib\netstandard1.5\System.ServiceProcess.ServiceController.dll
- bin\coreclr\runtimes\win\lib\netstandard2.0\Microsoft.Win32.Registry.dll
- bin\coreclr\runtimes\win\lib\netstandard2.0\System.ServiceProcess.ServiceController.dll
- bin\fullclr\Carbon.dll
- bin\fullclr\Carbon.Iis.dll
- bin\fullclr\Carbon.Iis.pdb
- bin\fullclr\Carbon.pdb
- bin\fullclr\Carbon.Xdt.dll
- bin\fullclr\Carbon.Xdt.pdb
- bin\fullclr\Microsoft.Web.XmlTransform.dll
- DscResources\Initialize-CarbonDscResource.ps1
- DscResources\Carbon_EnvironmentVariable\Carbon_EnvironmentVariable.psm1
- DscResources\Carbon_EnvironmentVariable\Carbon_EnvironmentVariable.schema.mof
- DscResources\Carbon_FirewallRule\Carbon_FirewallRule.psm1
- DscResources\Carbon_FirewallRule\Carbon_FirewallRule.schema.mof
- DscResources\Carbon_Group\Carbon_Group.psm1
- DscResources\Carbon_Group\Carbon_Group.schema.mof
- DscResources\Carbon_IniFile\Carbon_IniFile.psm1
- DscResources\Carbon_IniFile\Carbon_IniFile.schema.mof
- DscResources\Carbon_Permission\Carbon_Permission.psm1
- DscResources\Carbon_Permission\Carbon_Permission.schema.mof
- DscResources\Carbon_Privilege\Carbon_Privilege.psm1
- DscResources\Carbon_Privilege\Carbon_Privilege.schema.mof
- DscResources\Carbon_ScheduledTask\Carbon_ScheduledTask.psm1
- DscResources\Carbon_ScheduledTask\Carbon_ScheduledTask.schema.mof
- DscResources\Carbon_Service\Carbon_Service.psm1
- DscResources\Carbon_Service\Carbon_Service.schema.mof
- en-US\about_Carbon.help.txt
- en-US\about_Carbon_2.0.help.txt
- en-US\about_Carbon_Contributing.help.txt
- en-US\about_Carbon_Extended_Type_Data.help.txt
- en-US\about_Carbon_Installation.help.txt
- en-US\about_Carbon_Support.help.txt
- Formats\Carbon.Security.HttpUrlAcl.format.ps1xml
- Formats\Schedule.Service.RegisteredTask.format.ps1xml
- Functions\Iis.ps1
- Functions\Initialize-Lcm.ps1
- Functions\Use-CallerPreference.ps1
- Types\Scheduled.Service.RegisteredTask.types.ps1xml
- Types\System.IO.DirectoryInfo.types.ps1xml
- Types\System.IO.FileInfo.types.ps1xml
- Types\System.ServiceProcess.ServiceController.types.ps1xml
Version History
Version | Downloads | Last updated |
---|---|---|
2.16.0-rc1 | 419 | 3/19/2024 |
2.15.1 | 11,680,512 | 8/18/2023 |
2.15.0 | 37,711 | 8/17/2023 |
2.14.1 | 1,428,767 | 7/5/2023 |
2.14.1-rc1 | 18 | 7/3/2023 |
2.14.0 | 75,154 | 7/3/2023 |
2.14.0-rc1 | 107 | 5/10/2023 |
2.13.0 | 4,695,588 | 2/16/2023 |
2.13.0-rc2 | 97 | 1/20/2023 |
2.13.0-rc1 | 8 | 1/20/2023 |
2.12.0 | 6,366,661 | 8/10/2022 |
2.11.3 | 1,366,630 | 6/30/2022 |
2.11.2 | 3,080,967 | 3/28/2022 |
2.11.1 | 944,023 | 2/28/2022 |
2.11.1-alpha732 | 574 | 2/28/2022 |
2.11.0 | 3,800,937 | 11/3/2021 |
2.11.0-rc710 | 610 | 10/19/2021 |
2.11.0-rc707 | 570 | 10/19/2021 |
2.10.2 | 7,141,229 | 3/17/2021 |
2.10.1 | 26,460 | 3/16/2021 |
2.10.1-rc660 | 613 | 3/8/2021 |
2.10.0 | 22,968 | 3/15/2021 |
2.10.0-rc651 | 729 | 2/3/2021 |
2.9.4 | 3,004,224 | 12/8/2020 |
2.9.3 | 607,197 | 11/18/2020 |
2.9.3-rc623 | 631 | 10/9/2020 |
2.9.2 | 14,020,821 | 1/17/2020 |
2.9.1 | 1,546,634 | 11/1/2019 |
2.9.0 | 995,248 | 9/19/2019 |
2.9.0-rc587 (current version) | 589 | 9/16/2019 |
2.8.1 | 4,228,550 | 3/26/2019 |
2.8.0 | 31,752 | 3/25/2019 |
2.7.0 | 3,922,479 | 12/11/2018 |
2.6.0 | 5,441,501 | 7/8/2018 |
2.5.4 | 206,551 | 6/2/2018 |
2.5.3 | 1,343 | 6/1/2018 |
2.5.2 | 239 | 6/1/2018 |
2.5.1 | 253 | 6/1/2018 |
2.5.0 | 828,551 | 6/18/2017 |
2.4.1 | 243,040 | 2/21/2017 |
2.4.0 | 124,363 | 11/9/2016 |
2.3.0 | 39,277 | 9/29/2016 |
2.2.0 | 22,408 | 5/12/2016 |
2.1.1 | 1,224 | 2/25/2016 |
2.1.0 | 560 | 2/9/2016 |
2.0.1 | 1,072 | 10/20/2015 |
2.0.0 | 2,356 | 10/11/2015 |
1.9.0 | 1,472 | 5/7/2015 |