Share via


Get-VamtConfirmationId

Applies To: Windows 8, Windows Server 2012

Get-VamtConfirmationId

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

Syntax

Parameter Set: CilX
Get-VamtConfirmationId [-FileName] <String> [-ProxyPassword <String> ] [-ProxyUserName <String> ] [ <CommonParameters>]

Parameter Set: Product
Get-VamtConfirmationId [-Products] <Product[]> [-ProxyPassword <String> ] [ <CommonParameters>]

Parameter Set: Products
Get-VamtConfirmationId [-ProxyUserName <String> ] [ <CommonParameters>]

Detailed 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.

Parameters

-FileName<String>

Specifies the name of the file that contains the products that need CIDs. Use the FileName 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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Products<Product[]>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-ProxyPassword<String>

Password for a proxy server or gateway, if required for your environment.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-ProxyUserName<String>

User name for a proxy server or gateway, if required for your environment.

Aliases

none

Required?

false

Position?

named

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 1

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

PS C:\> get-vamtconfirmationid -filename "c:\users\me\desktop\vamtdata.cilx"

Example 2

This command gets a product object with all products and gets the confirmation IDs for these products.

PS C:\> $productinfo = get-vamtproduct
$updatedproductinfo = get-vamtconfirmationid -products $productinfo

Install-VamtConfirmationId

VAMT Cmdlets