# Set-RASVDIPersistentHost

## NAME

Set-RASVDIPersistentHost

## SYNOPSIS

Modifies a persistent host VM rule.

## SYNTAX

**Set-RASVDIPersistentHost**\
-[ProviderId](#providerid-string) _(uint)_\
-[VDIHostId](#vdihostid-string) _(string)_\
\[[Device](#device-string) _(string)_]\
\[[SID](#sid-string) _(string)_]\
\[[SiteId](#siteid-string) _(uint)_]\
\[[User](#user-string) _(string)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Modifies a persistent host VM rule.

## PARAMETERS

## User (string)

The name of the user account to which to assign the Host.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Device (string)

The name of the device to which to assign the Host.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SID (string)

The SID of the user account to which to assign the Host.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ProviderId (uint)

The ID of the Provider server on which the target Persistent Host\
resides.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VDIHostId (string)

The Host ID of a persistent host VM.

To obtain the Host ID, use the Get-VDIPersistentHost cmdlet.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID.

```
        Required?                    false

        Position?                    named

        Default value                0

        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-RASVDIPersistentHost -Account User1 -ProviderId 3 -VDIHostId\
42311235-09c5-ca15-337d-b9723015edf0

Modifies the persistent host VM rule.

## RELATED LINKS

* [Get-RASVDIPersistentHost](get-rasvdipersistenthost)
* [Remove-RASVDIPersistentHost](remove-rasvdipersistenthost)
