PowerCLI Reference

Remove-CIAccessControlRule

Synopsis

This cmdlet removes the specified access control rule.

Syntax

Remove-CIAccessControlRule [-AccessControlRule] <CIAccessControlRule[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-CIAccessControlRule
New-CIAccessControlRule
Set-CIAccessControlRule

Detailed Description

This cmdlet removes the specified access control rule.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AccessControlRuleCIAccessControlRule[]Specifies the access control rule that you want to remove.trueTrue (ByValue)
ConfirmSwitchParameterIf 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.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

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.