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

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
InformationActionActionPreferencefalsefalse
InformationVariableStringfalsefalse
PipelineVariableStringfalsefalse
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.