Remove-EmcFastVpPolicy

Removes the specified FAST VP policy from the specified storage groups.

 

Syntax

Remove-EmcFastVpPolicy -VmaxStorageGroups <VmaxStorageGroup[]> -VmaxFastVpPolicy <VmaxFastVpPolicy> [-Force] [-Silent] [-WhatIf] [-Confirm] [<CommonParameters>]

 

Parameters

-VmaxStorageGroups <VmaxStorageGroup>

Attributes: Optional, Position: named

Specifies the list of ESI VMAX storage group objects. You can get a VMAX storage group object with the ESI storage system object or Get-EmcVmaxStorageGroup cmdlet.

 

-VmaxFastVpPolicy <VmaxFastVpPolicy>

Attributes: Required, Position: named

Specifies the ESI FAST VP policy system object. You can get the FAST VP policy system object with the Get-EmcFastVpPolicy cmdlet.

 

-Force <SwitchParameter>

Attributes: Optional, Position: named

Allows the cmdlet to continue without asking for user confirmation.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

-WhatIf <SwitchParameter>

Attributes: Optional, Position: named

Shows what would happen if the cmdlet runs. The cmdlet is not run.

 

-Confirm <SwitchParameter>

Attributes: Optional, Position: named

Prompts you for confirmation before executing the command.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>Getting storage system

$storage = Get-EmcStorageSystem vmax348

C:\PS>$storagegroup = Get-EmcVmaxStorageGroup *test_SG* -VmaxStorageSystem $storage

C:\PS>$policy=Get-EmcFastVpPolicy *test_p* -StorageSystem $storage

C:\PS>Remove-EmcFastVpPolicy -VmaxStorageGroups $storagegroup -VmaxFastVpPolicy $policy

This example gets and removes the specified FAST VP policy from the specified storage groups in the specified storage system.