Export-CCMDeployment
Export-CCMDeployment
Export-CCMDeployment
Exports a Deployment to a CliXML file
Syntax
Export-CCMDeployment `
-Deployment <String> `
[-DeploymentStepsOnly] `
-OutFile <String> `
[-AllowClobber] [<CommonParameters>]
Description
Adds ability to export a deployment as cli-xml. Useful for backup/source control of deployments
Aliases
None
Examples
EXAMPLE 1
Export-CCMDeployment -Deployment TestDeployment -OutFile C:\temp\testdeployment.xml
EXAMPLE 2
Export-CCMDeployment -Deployment UpgradeChrome -OutFile C:\temp\upgradechrome_ccmdeployment.xml -AllowClobber
Inputs
None
Outputs
None
Parameters
-Deployment <String>
The CCM Deployment to Export
Property | Value |
---|---|
Aliases | |
Required? | true |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
-DeploymentStepsOnly
Only export a deployment’s steps
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | named |
Default Value | False |
Accept Pipeline Input? | false |
-OutFile <String>
The xml file to save the deployment as
Property | Value |
---|---|
Aliases | |
Required? | true |
Position? | 2 |
Default Value | |
Accept Pipeline Input? | false |
-AllowClobber
Allow a file to be overwritten if it already exists
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | named |
Default Value | False |
Accept Pipeline Input? | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
https://go.microsoft.com/fwlink/p/?LinkID=113216 .
NOTE
This documentation has been automatically generated from
Import-Module "ChocoCCM" -Force; Get-Help Export-CCMDeployment -Full
.