## PowerCLI Reference

## vSphereAuto Deploy Reference

# Import-AutoDeployState

## Synopsis

Restores the state of the Auto Deploy service.

Syntax

Import-AutoDeployState [-importFilePath] <String>[<CommonParameters>]

Related Commands

Export-AutoDeployState

Detailed Description

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 invoked.
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
--- | --- | --- | --- | --- | ---
ImportFilePath | String | ImportFilePath | true | true(ByValue, ByPropertyName) |

Return Type

Notes

Examples

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

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

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

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