Carbon is a DevOps PowerShell module for automating the configuration of Windows 2008 and 7 computers. Carbon can configure and manage:
Windows 2008 (x64) and Windows 7 (x64).
Unzip the Carbon module anywhere on your file system. Import the module by running:
> Import-Module Path\To\Carbon\Directory
Replace Path\To\Carbon\Directory with the actual path where you unzipped Carbon.
If you don't want to worry about remembering/finding the path to Carbon, put the Carbon directory into one of the following directories:
If you've installed Carbon into a standard PowerShell module directory (see above), importing it is easy:
> Import-Module Carbon
If you've got it installed somewhere else, maybe your application's version control repository, you'll need to know the path to where it is:
> Import-Module .\Tools\Carbon
If importing Carbon in a script, we recommend always using relative paths. You can get the directory in which the current script is executing, and using that to get the path to Carbon, like this:
> $PSScriptRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition > Import-Module (Join-Path $PSScriptRoot ..\Tools\Carbon -Resolve)
For more usage information, see the Carbon help topic:
> help Carbon
To get a list of all commands imported by Carbon,
> Get-Command | Where-Object { $_.ModuleName -eq 'Carbon' }