Export-VamtData

Export-VamtData

Exports product data and product-key data from a VAMT database to a portable .cilx file.

Sintaxis

Parameter Set: Products
Export-VamtData [-Products] <Product[]> [-OutputFile] <String> [[-IncludeProductKeys]] [[-IncludeSensitiveInfo]] [-DbCommandTimeout <Int32> ] [-DbConnectionString <String> ] [ <CommonParameters>]

Descripción detallada

The Export-VamtData cmdlet exports specified product data and product-key data from a database to a portable cilx file. You can use this .cilx file to move data from one instance to another, to store data for backup purposes, or to facilitate proxy activation. By default, the export does not include product-key data and personally identifiable information (PII).

Parámetros

-DbCommandTimeout<Int32>

Indicates how long waits for a response from the database before timing out. The default value is 30 seconds. You can use the DbCommandTimeout parameter to change the timeout value.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-DbConnectionString<String>

Specifies the database that the product and the product key are exported from. If no database connection string is provided, attempts to use the database that the user console used on the local computer. If does not find a database, it returns an error. You can find the connection string in the UI in the Preferences dialog box. On the menu bar, click View, and then click Preferences to open the Volume Activation Management Tool Preferences dialog box. The connection string is in the Database Settings section under Current connection string.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-IncludeProductKeys

Includes product keys in the export. By default, does not include product keys in the export.

Alias

ninguno

¿Requerido?

false

¿Posición?

4

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-IncludeSensitiveInfo

Includes personally identifiable information (PII) in the export. By default, does not include PII in the export.

Alias

ninguno

¿Requerido?

false

¿Posición?

5

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-OutputFile<String>

Specifies the location and name of the .cilx file that the Export-VamtData cmdlet creates.

Alias

ninguno

¿Requerido?

true

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-Products<Product[]>

Specifies the product information to be exported. If the Products parameter is not included, exports all product information in the database to the .cilx file.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Ejemplos

Example

This command gets a product object that contains all products and then exports the object to the specified file. The command also specifies to include product keys and personally identifiable information.

PS C:\> get-vamtproduct | export-vamtdata -includeproductkeys -includesensitiveinfo -outputfile c:\users\me\desktop\vamtdata.cilx

Temas relacionados

Import-VamtData

Initialize-VamtData