Edit

Share via


Get-VamtConfirmationId

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

Syntax

CilX (Default)

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

Product

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CilX
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments: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.

Parameter properties

Type:

Product[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Product
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ProxyPassword

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ProxyUserName

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

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