Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Export-VamtData

Last Updated: 3/8/2017

SYNOPSIS

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

SYNTAX

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

DESCRIPTION

The Export-VamtData cmdlet exports specified product data and product-key data from a dep_firstref_vamt database to a portable cilx file. You can use this .cilx file to move data from one dep_nextref_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).

EXAMPLES

Example 1: Export data to a file

PS C:\>Get-VamtProduct | Export-VamtData -IncludeProductKeys -IncludeSensitiveInfo -outputfile "c:\users\me\desktop\vamtdata.cilx"

This command gets a dep_nextref_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.

PARAMETERS

-DbCommandTimeout

Indicates how long dep_nextref_vamt waits for a response from the database before timing out. The default value is 30 seconds.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DbConnectionString

Specifies the database that the product and the product key are exported from. If no database connection string is provided, dep_nextref_vamt attempts to use the database that the dep_nextref_vamt user console used on the local computer. If dep_nextref_vamt does not find a database, it returns an error. You can find the connection string in the dep_nextref_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.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-IncludeProductKeys

Indicates that this cmdlet includes product keys in the export. By default, dep_nextref_vamt does not include product keys in the export.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeSensitiveInfo

Indicates that this cmdlet includes personally identifiable information (PII) in the export. By default, dep_nextref_vamt does not include PII in the export.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputFile

Specifies the location and name of the .cilx file that this cmdlet creates.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Products

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

Type: Product[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Import-VamtData

Initialize-VamtData

© 2017 Microsoft