Import-AutoDeployState Command | Vmware PowerCLI Reference

Import-AutoDeployState

Restores the state of the Auto Deploy service.The restore data is a zip file containing the entire state of the Auto deploy when the back up command was invokedYou must have the "AutoDeploy.Profile.Edit" privilege on the root folder of vCenter Server to use this cmdlet.

Syntax

Import-AutoDeployState
-ImportFilePath < String >
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ImportFilePath String named
  • pipeline
Import file path of restore file

Output

Examples

Example 1

C:\PS&#62 Import-AutoDeployState "C:/rbd-backup.zip"

Fetches the backup data from the file at the mentioned path and uses it to do a restore.

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.