Edit

Share via


Install-VamtProductActivation

Activates products online, using the local computer's Internet connection.

Syntax

Default (Default)

Install-VamtProductActivation
    -Products <Product[]>
    [-Username <String>]
    [-Password <String>]
    [<CommonParameters>]

Description

The Install-VamtProductActivation cmdlet activates products online by using the Internet connection on the local computer. You cannot use this cmdlet for proxy activation.

Examples

Example 1: Activate products

PS C:\>Get-VamtProduct | Install-VamtProductActivation

This command gets products and then activates them by using online activation.

Parameters

-Password

Provides a password for password-protected environments.

Parameter properties

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

Parameter sets

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

-Products

Specifies the product or products to be activated.

Parameter properties

Type:

Product[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-Username

Provides a user name for password-protected environments.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
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.