> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/invoke-rassitepromotetolicensing.md).

# Invoke-RASSitePromoteToLicensing

## SYNOPSIS

Promotes a RAS Site to Licensing.

## SYNTAX

```powershell
Invoke-RASSitePromoteToLicensing [-Id] <uint> -Email <string> -Key <string> -Password <SecureString>
 [-Force <SwitchParameter>] [-MacAddress <string>] [-RASAdminPassword <SecureString>]
 [-RASAdminUsername <string>] [<CommonParameters>]
```

```powershell
Invoke-RASSitePromoteToLicensing [-Name] <string> -Email <string> -Key <string>
 -Password <SecureString> [-MacAddress <string>] [-RASAdminPassword <SecureString>]
 [-RASAdminUsername <string>] [<CommonParameters>]
```

## DESCRIPTION

Promotes a RAS Site to Licensing.

## EXAMPLES

### Example 1

```powershell
Invoke-RASSitePromoteToLicensing -Id 5 -Email "name@company.com" -Password $SecretPass
```

Promotes the specified RAS Site (by ID) to Licensing and activates a new RAS Site license with same license key.

The $SecretPass variable must contain a password as SecureString.

If you omit the -Password parameter, you'll be asked to enter it when you execute the cmdlet.

### Example 2

```powershell
Invoke-RASSitePromoteToLicensing -Name Site2 -Email "name@company.com" -Password $SecretPass -Key "QPWO-WRET-XVBC-IOUP"
```

Promotes the specified RAS Site (by Name) to Licensing and activates a new RAS Site license using the specified key.

The $SecretPass variable must contain a password as SecureString.

If you omit the -Password parameter, you'll be asked to enter it when you execute the cmdlet.

## PARAMETERS

### -Name

The name of the site to promote.

```yaml
Type: string
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Id

The ID of the site to promote.

```yaml
Type: uint
Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -Email

The email address you use to log in to Parallels My Account.

```yaml
Type: string
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Password

Your Parallels account password.

```yaml
Type: SecureString
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Key

Parallels RAS License Key. The key must be registered in Parallels My Account.

If you omit this parameter, the current license key will be used in activation.

```yaml
Type: string
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MacAddress

Bind the license activation with a specific MAC address.

The MAC address should be in the format XX-XX-XX-XX-XX-XX.

To select a MAC address automatically, omit this parameter.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -RASAdminUsername

Parallels RAS administrator username.

If this parameter is omitted, your RAS admin username (and password) will be used.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -RASAdminPassword

Parallels RAS administrator username.

```yaml
Type: SecureString
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force

Force site promotion (without access to Licensing Site).

```yaml
Type: SwitchParameter
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### None

## RELATED LINKS

* [Get-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rassite.md)
* [New-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/new-rassite.md)
* [Set-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rassite.md)
* [Remove-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rassite.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/invoke-rassitepromotetolicensing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
