Share via


Install-VamtProductActivation

Applies To: Windows 8, Windows Server 2012

Install-VamtProductActivation

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

Syntax

Parameter Set: Default
Install-VamtProductActivation [-Products] <Product[]> [[-Username] <String> ] [[-Password] <String> ] [ <CommonParameters>]

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

Parameters

-Password<String>

Provides a password for password-protected environments.

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Products<Product[]>

Specifies the product or products to be activated.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Username<String>

Provides a user name for password-protected environments.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (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

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

PS C:\> get-vamtproduct | install-vamtproductactivation

VAMT Cmdlets