# Set-RASProviderRemotePCStatic

## NAME

Set-RASProviderRemotePCStatic

## SYNOPSIS

Modifies a Remote PC Static of a Provider.

## SYNTAX

**Set-RASProviderRemotePCStatic** \[[Id](#id-string)] *(uint)* -[RemotePCStaticId](#remotepcstaticid-string) *(string)* \[[MAC](#mac-string) *(string)*] \[[RemotePCStaticName](#remotepcstaticname-string) *(string)*] \[[Subnet](#subnet-string) *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASProviderRemotePCStatic** \[-[InputObject](#inputobject)] *(*[*RemotePCStaticProvider*](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/remotepcstaticprovider)*)* -[RemotePCStaticId](#remotepcstaticid-string) *(string)* \[[MAC](#mac-string) *(string)*] \[[RemotePCStaticName](#remotepcstaticname-string) *(string)*] \[[Subnet](#subnet-string) *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASProviderRemotePCStatic** \[[Server](#server-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] -[RemotePCStaticId](#remotepcstaticid-string) *(string)* \[[MAC](#mac-string) *(string)*] \[[RemotePCStaticName](#remotepcstaticname-string) *(string)*] \[[Subnet](#subnet-string) *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies a Remote PC Static of a Provider.

## PARAMETERS

## RemotePCStaticId (string)

The ID of the Remote PC Static to be modified.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## RemotePCStaticName (string)

Remote PC Static Name

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MAC (string)

Remote PC Static MAC Address

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Subnet (string)

Remote PC Static Subnet

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Server (string)

The name of the target Provider server.

This must be the actual server name used in the RAS farm.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID in which to modify the specified Provider server.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject

([RemotePCStaticProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/remotepcstaticprovider)) An object representing the Provider server to modify.

To obtain the object, use the Get-RASProvider cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        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

[RemotePCStaticProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/remotepcstaticprovider)

## OUTPUTS

-none-

## EXAMPLES

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

Set-RASProviderRemotePCStatic -Id 1 -RemotePCStaticId 42311235-09c5-ca15-337d-b9723015edf0 -RemotePCStaticName Test1

Modifies the name of the Remote PC Static with Id 42311235-09c5-ca15-337d-b9723015edf0 of the Provider with Id 1.

## RELATED LINKS

* [Get-RASProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasprovider)
* [Set-RASProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasprovider)
* [Add-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/add-rasproviderremotepcstatic)
* [Get-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasproviderremotepcstatic)
* [Remove-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rasproviderremotepcstatic)
