# Remove-RASVDIPersistentHost

## NAME

Remove-RASVDIPersistentHost

## SYNOPSIS

Removes a persistent host VM rule.

## SYNTAX

**Remove-RASVDIPersistentHost**\
\[[ProviderId](#providerid-string)]_(uint)_ \[[VDIHostId](#vdihostid-string)]_(string)_ \[[SiteId](#siteid-string)_(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Remove-RASVDIPersistentHost**\
\[-[InputObject](#inputobject)]_(_[_VDIPersistentHost_](../types/vdipersistenthost)_)_\
\[[SiteId](#siteid-string) _(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Removes a persistent host VM rule.

## PARAMETERS

## ProviderId (uint)

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

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VDIHostId (string)

The VDI Host ID of a persistent host VM.

To obtain the VDI Host ID, use the Get-RASVDIPersistentHost cmdlet.

```
        Required?                    true

        Position?                    1

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject

([VDIPersistentHost](../types/vdipersistenthost))\
An object of type VDIPersistentHost representing a persistent host VM\
rule to remove from a site.

To obtain the object, use the Get-RASVDIPersistentHost command."

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        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

[VDIPersistentHost](../types/vdipersistenthost)

## OUTPUTS

-none-

## EXAMPLES

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

Remove-RASVDIPersistentHost -ProviderId 5 -VDIHostId\
"362738C5-CB7B-4D0E-AB21-C75C6723EE88"

Removes the persistent host VM rule specified by ID. To obtain the ID,\
use the Get-RASVDIPersistentHost cmdlet.

## RELATED LINKS

* [Set-RASVDIPersistentHost](set-rasvdipersistenthost)
* [Get-RASVDIPersistentHost](get-rasvdipersistenthost)
