2,471,440

Downloads

1,020,710

Downloads of 2.6.0

2018-07-08

Last published

Carbon

2.6.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.

Inspect

PS> Save-Module -Name Carbon -Path <path>

Install

PS> Install-Module -Name Carbon

Deploy

See Documentation for more details.

Release Notes

* `Enable-IisSecurityAuthentication` and `Disable-IisSecurityAuthentication` sometimes hang. We don't know why, but we're working around the problem. These functions no longer always apply a configuration change. Instead, they only enable/disable security authentication if its not already enabled/disabled.
* `Install-Service` now outputs a verbose message showing the command line arguments used when calling `sc.exe` to install/update a service.
* Added `ArgumentList` property/parameter to `Carbon_Service` DSC resource. Thanks to [Luigi Grilli](https://github.com/gigi81) for the contribution.
* Fixed: `Get-HttpUrlAcl` returns no ACLs if any ACLs exist whose identities no longer exist.

Owners

Authors

Aaron Jensen

Copyright

Copyright 2011 - 2016 Aaron Jensen.

FileList

Show
  • Carbon.nuspec
  • Carbon.format.ps1xml
  • Carbon.psd1
  • Carbon.psm1
  • Carbon.types.ps1xml
  • Import-Carbon.ps1
  • LICENSE.txt
  • NOTICE.txt
  • bin\Carbon.dll
  • bin\Carbon.Iis.dll
  • bin\Carbon.Xdt.dll
  • bin\Ionic.Zip.dll
  • bin\Microsoft.Web.XmlTransform.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
  • 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
  • Functions\Add-GroupMember.ps1
  • Functions\Add-IisDefaultDocument.ps1
  • Functions\Add-IisServerManagerMember.ps1
  • Functions\Add-TrustedHost.ps1
  • Functions\Assert-AdminPrivilege.ps1
  • Functions\Assert-FirewallConfigurable.ps1
  • Functions\Assert-Service.ps1
  • Functions\Assert-WindowsFeatureFunctionsSupported.ps1
  • Functions\Clear-DscLocalResourceCache.ps1
  • Functions\Clear-MofAuthoringMetadata.ps1
  • Functions\Clear-TrustedHost.ps1
  • Functions\Complete-Job.ps1
  • Functions\Compress-Item.ps1
  • Functions\Convert-SecureStringToString.ps1
  • Functions\Convert-XmlFile.ps1
  • Functions\ConvertFrom-Base64.ps1
  • Functions\ConvertTo-Base64.ps1
  • Functions\ConvertTo-ContainerInheritanceFlags.ps1
  • Functions\ConvertTo-InheritanceFlag.ps1
  • Functions\ConvertTo-Key.ps1
  • Functions\ConvertTo-PropagationFlag.ps1
  • Functions\ConvertTo-ProviderAccessControlRights.ps1
  • Functions\ConvertTo-SecurityIdentifier.ps1
  • Functions\Copy-DscResource.ps1
  • Functions\Disable-AclInheritance.ps1
  • Functions\Disable-FirewallStatefulFtp.ps1
  • Functions\Disable-IEEnhancedSecurityConfiguration.ps1
  • Functions\Disable-IisSecurityAuthentication.ps1
  • Functions\Disable-NtfsCompression.ps1
  • Functions\Enable-AclInheritance.ps1
  • Functions\Enable-FirewallStatefulFtp.ps1
  • Functions\Enable-IEActivationPermission.ps1
  • Functions\Enable-IisDirectoryBrowsing.ps1
  • Functions\Enable-IisSecurityAuthentication.ps1
  • Functions\Enable-IisSsl.ps1
  • Functions\Enable-NtfsCompression.ps1
  • Functions\Expand-Item.ps1
  • Functions\Find-ADUser.ps1
  • Functions\Format-ADSearchFilterValue.ps1
  • Functions\Get-ADDomainController.ps1
  • Functions\Get-Certificate.ps1
  • Functions\Get-CertificateStore.ps1
  • Functions\Get-ComPermission.ps1
  • Functions\Get-ComSecurityDescriptor.ps1
  • Functions\Get-DscError.ps1
  • Functions\Get-DscWinEvent.ps1
  • Functions\Get-FileShare.ps1
  • Functions\Get-FileSharePermission.ps1
  • Functions\Get-FirewallRule.ps1
  • Functions\Get-Group.ps1
  • Functions\Get-HttpUrlAcl.ps1
  • Functions\Get-IdentityPrincipalContext.ps1
  • Functions\Get-IisApplication.ps1
  • Functions\Get-IisAppPool.ps1
  • Functions\Get-IisConfigurationSection.ps1
  • Functions\Get-IisHttpHeader.ps1
  • Functions\Get-IisHttpRedirect.ps1
  • Functions\Get-IisMimeMap.ps1
  • Functions\Get-IisSecurityAuthentication.ps1
  • Functions\Get-IisVersion.ps1
  • Functions\Get-IisWebsite.ps1
  • Functions\Get-IPAddress.ps1
  • Functions\Get-Msi.ps1
  • Functions\Get-MsmqMessageQueue.ps1
  • Functions\Get-MsmqMessageQueuePath.ps1
  • Functions\Get-PathProvider.ps1
  • Functions\Get-PathToHostsFile.ps1
  • Functions\Get-PerformanceCounter.ps1
  • Functions\Get-Permission.ps1
  • Functions\Get-PowerShellModuleInstallPath.ps1
  • Functions\Get-PowershellPath.ps1
  • Functions\Get-Privilege.ps1
  • Functions\Get-ProgramInstallInfo.ps1
  • Functions\Get-RegistryKeyValue.ps1
  • Functions\Get-ScheduledTask.ps1
  • Functions\Get-ServiceAcl.ps1
  • Functions\Get-ServiceConfiguration.ps1
  • Functions\Get-ServicePermission.ps1
  • Functions\Get-ServiceSecurityDescriptor.ps1
  • Functions\Get-SslCertificateBinding.ps1
  • Functions\Get-TrustedHost.ps1
  • Functions\Get-User.ps1
  • Functions\Get-WindowsFeature.ps1
  • Functions\Get-WmiLocalUserAccount.ps1
  • Functions\Grant-ComPermission.ps1
  • Functions\Grant-HttpUrlPermission.ps1
  • Functions\Grant-MsmqMessageQueuePermission.ps1
  • Functions\Grant-Permission.ps1
  • Functions\Grant-Privilege.ps1
  • Functions\Grant-ServiceControlPermission.ps1
  • Functions\Grant-ServicePermission.ps1
  • Functions\Initialize-Lcm.ps1
  • Functions\Install-Certificate.ps1
  • Functions\Install-Directory.ps1
  • Functions\Install-FileShare.ps1
  • Functions\Install-Group.ps1
  • Functions\Install-IisApplication.ps1
  • Functions\Install-IisAppPool.ps1
  • Functions\Install-IisVirtualDirectory.ps1
  • Functions\Install-IisWebsite.ps1
  • Functions\Install-Junction.ps1
  • Functions\Install-Msi.ps1
  • Functions\Install-Msmq.ps1
  • Functions\Install-MsmqMessageQueue.ps1
  • Functions\Install-PerformanceCounter.ps1
  • Functions\Install-RegistryKey.ps1
  • Functions\Install-ScheduledTask.ps1
  • Functions\Install-Service.ps1
  • Functions\Install-User.ps1
  • Functions\Install-WindowsFeature.ps1
  • Functions\Invoke-AppCmd.ps1
  • Functions\Invoke-ConsoleCommand.ps1
  • Functions\Invoke-PowerShell.ps1
  • Functions\Join-IisVirtualPath.ps1
  • Functions\Lock-IisConfigurationSection.ps1
  • Functions\New-Credential.ps1
  • Functions\New-Junction.ps1
  • Functions\New-RsaKeyPair.ps1
  • Functions\New-TempDirectory.ps1
  • Functions\Protect-String.ps1
  • Functions\Read-File.ps1
  • Functions\Remove-DotNetAppSetting.ps1
  • Functions\Remove-EnvironmentVariable.ps1
  • Functions\Remove-GroupMember.ps1
  • Functions\Remove-HostsEntry.ps1
  • Functions\Remove-IisMimeMap.ps1
  • Functions\Remove-IniEntry.ps1
  • Functions\Remove-Junction.ps1
  • Functions\Remove-RegistryKeyValue.ps1
  • Functions\Remove-SslCertificateBinding.ps1
  • Functions\Reset-HostsFile.ps1
  • Functions\Reset-MsmqQueueManagerID.ps1
  • Functions\Resolve-FullPath.ps1
  • Functions\Resolve-Identity.ps1
  • Functions\Resolve-IdentityName.ps1
  • Functions\Resolve-NetPath.ps1
  • Functions\Resolve-PathCase.ps1
  • Functions\Resolve-RelativePath.ps1
  • Functions\Resolve-WindowsFeatureName.ps1
  • Functions\Restart-RemoteService.ps1
  • Functions\Revoke-ComPermission.ps1
  • Functions\Revoke-HttpUrlPermission.ps1
  • Functions\Revoke-Permission.ps1
  • Functions\Revoke-Privilege.ps1
  • Functions\Revoke-ServicePermission.ps1
  • Functions\Set-CryptoKeySecurity.ps1
  • Functions\Set-DotNetAppSetting.ps1
  • Functions\Set-DotNetConnectionString.ps1
  • Functions\Set-EnvironmentVariable.ps1
  • Functions\Set-HostsEntry.ps1
  • Functions\Set-IisHttpHeader.ps1
  • Functions\Set-IisHttpRedirect.ps1
  • Functions\Set-IisMimeMap.ps1
  • Functions\Set-IisWebsiteID.ps1
  • Functions\Set-IisWebsiteSslCertificate.ps1
  • Functions\Set-IisWindowsAuthentication.ps1
  • Functions\Set-IniEntry.ps1
  • Functions\Set-RegistryKeyValue.ps1
  • Functions\Set-ServiceAcl.ps1
  • Functions\Set-SslCertificateBinding.ps1
  • Functions\Set-TrustedHost.ps1
  • Functions\Split-Ini.ps1
  • Functions\Start-DscPullConfiguration.ps1
  • Functions\Start-PowerShellProcess.ps1
  • Functions\Test-AdminPrivilege.ps1
  • Functions\Test-DotNet.ps1
  • Functions\Test-DscTargetResource.ps1
  • Functions\Test-FileShare.ps1
  • Functions\Test-FirewallStatefulFtp.ps1
  • Functions\Test-Group.ps1
  • Functions\Test-GroupMember.ps1
  • Functions\Test-Identity.ps1
  • Functions\Test-IisAppPool.ps1
  • Functions\Test-IisConfigurationSection.ps1
  • Functions\Test-IisSecurityAuthentication.ps1
  • Functions\Test-IisWebsite.ps1
  • Functions\Test-IPAddress.ps1
  • Functions\Test-MsmqMessageQueue.ps1
  • Functions\Test-NtfsCompression.ps1
  • Functions\Test-OSIs32Bit.ps1
  • Functions\Test-OSIs64Bit.ps1
  • Functions\Test-PathIsJunction.ps1
  • Functions\Test-PerformanceCounter.ps1
  • Functions\Test-PerformanceCounterCategory.ps1
  • Functions\Test-Permission.ps1
  • Functions\Test-PowerShellIs32Bit.ps1
  • Functions\Test-PowerShellIs64Bit.ps1
  • Functions\Test-Privilege.ps1
  • Functions\Test-RegistryKeyValue.ps1
  • Functions\Test-ScheduledTask.ps1
  • Functions\Test-Service.ps1
  • Functions\Test-SslCertificateBinding.ps1
  • Functions\Test-TypeDataMember.ps1
  • Functions\Test-UncPath.ps1
  • Functions\Test-User.ps1
  • Functions\Test-WindowsFeature.ps1
  • Functions\Test-ZipFile.ps1
  • Functions\Uninstall-Certificate.ps1
  • Functions\Uninstall-Directory.ps1
  • Functions\Uninstall-FileShare.ps1
  • Functions\Uninstall-Group.ps1
  • Functions\Uninstall-IisAppPool.ps1
  • Functions\Uninstall-IisWebsite.ps1
  • Functions\Uninstall-Junction.ps1
  • Functions\Uninstall-MsmqMessageQueue.ps1
  • Functions\Uninstall-PerformanceCounterCategory.ps1
  • Functions\Uninstall-ScheduledTask.ps1
  • Functions\Uninstall-Service.ps1
  • Functions\Uninstall-User.ps1
  • Functions\Uninstall-WindowsFeature.ps1
  • Functions\Unlock-IisConfigurationSection.ps1
  • Functions\Unprotect-String.ps1
  • Functions\Use-CallerPreference.ps1
  • Functions\Write-DscError.ps1
  • Functions\Write-File.ps1
  • Functions\Write-IisVerbose.ps1
  • Types\System.IO.DirectoryInfo.types.ps1xml
  • Types\System.IO.FileInfo.types.ps1xml
  • Types\System.ServiceProcess.ServiceController.types.ps1xml
  • Tags

    Functions

    DSCResources

    Dependencies

    This module has no dependencies.

    Minimum PowerShell version

    4.0

    Version History

    Version Downloads Last updated
    Carbon 2.5.4 205247 Saturday, June 02 2018
    Carbon 2.5.3 1278 Friday, June 01 2018
    Carbon 2.5.2 163 Friday, June 01 2018
    Carbon 2.5.1 184 Friday, June 01 2018
    Carbon 2.5.0 821468 Sunday, June 18 2017
    Carbon 2.4.1 236638 Tuesday, February 21 2017
    Carbon 2.4.0 121586 Wednesday, November 09 2016
    Carbon 2.3.0 39198 Thursday, September 29 2016
    Carbon 2.2.0 22108 Thursday, May 12 2016
    Carbon 2.1.1 1140 Thursday, February 25 2016
    Carbon 2.1.0 450 Tuesday, February 09 2016
    Carbon 2.0.1 938 Tuesday, October 20 2015
    Carbon 2.0.0 79 Sunday, October 11 2015
    Carbon 1.9.0 253 Thursday, May 07 2015