# Set-RASTenant

## NAME

Set-RASTenant

## SYNOPSIS

Updates a Tenant.

## SYNTAX

**Set-RASTenant** \[[Id](#id-string)] *(uint)*\*\* \[[ConnectByServerIP](#connectbyserverip-string) *(bool)*] \[[Description](#description-string) *(string)*] \[[Enabled](#enabled-string) *(bool)*] \[[HideBillingInfo](#hidebillinginfo-string) *(bool)*] \[[NewName](#newname-string) *(string)*] \[[PublicAddresses](#publicaddresses-string) *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASTenant** \[\[-[Name](#name-string)] *(string)*]\*\* \[[ConnectByServerIP](#connectbyserverip-string) *(bool)*] \[[Description](#description-string) *(string)*] \[[Enabled](#enabled-string) *(bool)*] \[[HideBillingInfo](#hidebillinginfo-string) *(bool)*] \[[NewName](#newname-string) *(string)*] \[[PublicAddresses](#publicaddresses-string) *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Updates a Tenant.

## PARAMETERS

## Name (string)

The Tenant name.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

Tenant ID.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NewName (string)

The new name of the Tenant (must be unique).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Enabled (bool)

Enable or disable the Tenant object in the Tenant Broker.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PublicAddresses (string)

The IP or DNS addresses of the Tenant Broker to join in a semicolon separated list.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ConnectByServerIP (bool)

Clients in gateway mode connect to published tenant resources by server IP.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## HideBillingInfo (bool)

When set, billing information is not provided in the Licensing category of the Tenant.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Description (string)

An optional Tenant description.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Set-RASTenant -Id 5 -NewName "Tenant 2"

Modifies the name of Tenant with Id 5 to "Tenant 2".

## RELATED LINKS

* [New-RASTenant](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/new-rastenant)
* [Get-RASTenant](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rastenant)
* [Remove-RASTenant](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rastenant)
