Export-VamtData
Applies To: Windows 8, Windows Server 2012
Export-VamtData
Exports product data and product-key data from a VAMT database to a portable .cilx file.
Syntax
Parameter Set: Products
Export-VamtData [-Products] <Product[]> [-OutputFile] <String> [[-IncludeProductKeys]] [[-IncludeSensitiveInfo]] [-DbCommandTimeout <Int32> ] [-DbConnectionString <String> ] [ <CommonParameters>]
Detailed Description
The Export-VamtData cmdlet exports specified product data and product-key data from a Volume Activation Management Tool (VAMT) database to a portable cilx file. You can use this .cilx file to move data from one VAMT 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).
Parameters
-DbCommandTimeout<Int32>
Indicates how long VAMT 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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DbConnectionString<String>
Specifies the database that the product and the product key are exported from. If no database connection string is provided, VAMT attempts to use the database that the VAMT user console used on the local computer. If VAMT does not find a database, it returns an error. You can find the connection string in the VAMT 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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-IncludeProductKeys
Includes product keys in the export. By default, VAMT does not include product keys in the export.
Aliases |
none |
Required? |
false |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-IncludeSensitiveInfo
Includes personally identifiable information (PII) in the export. By default, VAMT does not include PII in the export.
Aliases |
none |
Required? |
false |
Position? |
5 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-OutputFile<String>
Specifies the location and name of the .cilx file that the Export-VamtData cmdlet creates.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-Products<Product[]>
Specifies the product information to be exported. If the Products parameter is not included, VAMT exports all product information in the VAMT database to the .cilx file.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Examples
Example
This command gets a VAMT 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