## PowerCLI Reference

# Remove-CIAccessControlRule

## Synopsis

This cmdlet removes the specified access control rule.

Syntax

Remove-CIAccessControlRule [-AccessControlRule] <CIAccessControlRule[]> [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Online version
Get-CIAccessControlRule
New-CIAccessControlRule
Set-CIAccessControlRule

Detailed Description

This cmdlet removes the specified access control rule.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
AccessControlRule | CIAccessControlRule[] | Specifies the access control rule that you want to remove. | true | true (ByValue)
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | false
InformationAction | ActionPreference |  | false | false
InformationVariable | String |  | false | false
PipelineVariable | String |  | false | false
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false

Return Type

None

Notes

Examples

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

    Get-CIAccessLevelRule -Entity 'MyVApp' | Remove-CIAccessControlRule

Removes all access control rules that exist for the vApp named MyVApp.

Copyright © VMware, Inc. All rights reserved.