Get-VamtConfirmationId

Acquires confirmation IDs (CIDs) from the Microsoft licensing servers during proxy activation.

Syntax

Get-VamtConfirmationId
   -FileName <String>
   [-ProxyUserName <String>]
   [-ProxyPassword <String>]
   [<CommonParameters>]
Get-VamtConfirmationId
   -Products <Product[]>
   [-ProxyUserName <String>]
   [-ProxyPassword <String>]
   [<CommonParameters>]

Description

The Get-VamtConfirmationID cmdlet acquires the confirmation IDs (CIDs) from the Microsoft licensing servers during proxy activation. All products either in the Windows PowerShell object or in the .cilx file are updated with the results.

Examples

Example 1: Get CIDs from a file

PS C:\> Get-VamtConfirmationId -FileName "c:\users\me\desktop\vamtdata.cilx"

This command gets the CIDs for the products in the specified file.

Example 2: Get CIDs for products

PS C:\> $ProductInfo = Get-VamtProduct
PS C:\> $UpdatedProductInfo = Get-VamtConfirmationId -Products $ProductInfo

This example gets a product object that has all products and gets the confirmation IDs for these products.

Parameters

-FileName

Specifies the name of the file that contains the products that need CIDs. Use this parameter during proxy activation to acquire CIDs for all products in the specified .cilx file. You cannot use the FileName parameter together with the Products parameter.

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

-Products

Specifies the products in dep_nextref_vamt that need CIDs. By default, if you do not specify a product, CIDs are retrieved for all products in dep_nextref_vamt. You cannot use the Products parameter together with the FileName parameter.

Type:Product[]
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ProxyPassword

Specifies a password for a proxy server or gateway, if it is required for your environment.

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

-ProxyUserName

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