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

PropertyValue
Aliases
Required?true
Position?1
Default Value
Accept Pipeline Input?false

-DeploymentStepsOnly

Only export a deployment’s steps

PropertyValue
Aliases
Required?false
Position?named
Default ValueFalse
Accept Pipeline Input?false

-OutFile <String>

The xml file to save the deployment as

PropertyValue
Aliases
Required?true
Position?2
Default Value
Accept Pipeline Input?false

-AllowClobber

Allow a file to be overwritten if it already exists

PropertyValue
Aliases
Required?false
Position?named
Default ValueFalse
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 .

Function Reference

NOTE

This documentation has been automatically generated from Import-Module "ChocoCCM" -Force; Get-Help Export-CCMDeployment -Full.