Carbon

2.7.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
* Certif
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.
Show more

Minimum PowerShell version

4.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Carbon -RequiredVersion 2.7.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Carbon -Version 2.7.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright 2011 - 2016 Aaron Jensen.

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

* Uninstall-CService now kills a service's process when that service stops but is actually still running. This should decrease the frequency of needing to reboot a computer when uninstalling a service.
* Added `C` prefix to all Carbon commands, with aliases from old command names to new ones to maintain backwards compatability.
* Added `bin\Use-CarbonPrefix.ps1` script to Carbon that will update files to use the new Carbon function names.
* `Get-CCertificate`: Added `Path` note property to returned objects.
* Fixed: Chocolatey uninstaller fails if the `PSModulePath` environment variable contains trailing or sequential semicolons.
* `Grant-CPermission` can now grant multiple permissions to an identity on files, directories, and registry items. Use the `Append` switch.
* `Carbon_Permission` DSC resource can now grant multiple permissions to an identity on files, directories, and registry items. Use the `Append` property.

FileList

Version History

Version Downloads Last updated
2.15.1 6,664,818 8/18/2023
2.15.0 37,693 8/17/2023
2.14.1 1,428,587 7/5/2023
2.14.1-rc1 11 7/3/2023
2.14.0 75,140 7/3/2023
2.14.0-rc1 101 5/10/2023
2.13.0 4,693,952 2/16/2023
2.13.0-rc2 92 1/20/2023
2.13.0-rc1 3 1/20/2023
2.12.0 6,366,562 8/10/2022
2.11.3 1,366,235 6/30/2022
2.11.2 3,080,942 3/28/2022
2.11.1 943,185 2/28/2022
2.11.1-alpha732 569 2/28/2022
2.11.0 3,795,154 11/3/2021
2.11.0-rc710 605 10/19/2021
2.11.0-rc707 565 10/19/2021
2.10.2 7,139,714 3/17/2021
2.10.1 26,450 3/16/2021
2.10.1-rc660 608 3/8/2021
2.10.0 22,960 3/15/2021
2.10.0-rc651 724 2/3/2021
2.9.4 3,001,916 12/8/2020
2.9.3 607,152 11/18/2020
2.9.3-rc623 626 10/9/2020
2.9.2 14,020,762 1/17/2020
2.9.1 1,546,513 11/1/2019
2.9.0 995,055 9/19/2019
2.9.0-rc587 584 9/16/2019
2.8.1 4,228,471 3/26/2019
2.8.0 31,743 3/25/2019
2.7.0 (current version) 3,922,456 12/11/2018
2.6.0 5,440,634 7/8/2018
2.5.4 206,541 6/2/2018
2.5.3 1,337 6/1/2018
2.5.2 231 6/1/2018
2.5.1 245 6/1/2018
2.5.0 828,377 6/18/2017
2.4.1 242,624 2/21/2017
2.4.0 124,346 11/9/2016
2.3.0 39,268 9/29/2016
2.2.0 22,396 5/12/2016
2.1.1 1,218 2/25/2016
2.1.0 550 2/9/2016
2.0.1 1,065 10/20/2015
2.0.0 1,711 10/11/2015
1.9.0 1,458 5/7/2015
Show less