Export-AutoDeployState Command | Vmware PowerCLI Reference

Export-AutoDeployState

Backs up the state of the Auto Deploy service.The backup data is a zip file containing the entire state of the Auto deploy when the command is invoked. It includes all the files required for a successfull restore.You must have the "AutoDeploy.Profile.Edit" privilege on the root folder of vCenter Server to use this cmdlet.

Syntax

Export-AutoDeployState
-ExportDir < String >
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ExportDir String named
  • pipeline
Export directory where the file needs to be written out

Output

Examples

Example 1

C:\PS&#62 Export-AutoDeployState "c:/temp/"

Fetches the backup data and writes out a zip file at the mentioned path.

Related Commands

AutoDeployState

The cmdlet will fetch the current state of Auto Deploy and will write out a zip file named rbd-backup.zip in the specified directory path.

The cmdlet uploads the file contents to restore the Auto Deploy state.