## PowerCLI Reference

## vSphereAuto Deploy Reference

# Export-AutoDeployState

## Synopsis

Backs up the state of the Auto Deploy service.

Syntax

Export-AutoDeployState [-exportDir] <String>[<CommonParameters>]

Related Commands

Import-AutoDeployState

Detailed Description

Backs up the stateof 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 ofvCenter Server to use this cmdlet.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
ExportDir | String | ExportDir | true | true(ByValue, ByPropertyName) |

Return Type

Notes

Examples

-------------- Example 1 --------------

    C:\PS> Export-AutoDeployState "c:/temp/"

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

Copyright © 1998 - 2011 VMware, Inc. All rights reserved.