PowerCLI Reference

Set-CIAccessControlRule

Synopsis

This cmdlet modifies the specified access control rule.

Syntax

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

Related Commands

Online version
Get-CIAccessControlRule
New-CIAccessControlRule
Remove-CIAccessControlRule

Detailed Description

This cmdlet modifies the specified access control rule.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AccessLevelAccessLevelSpecifies a new access level for the access control rule that you want to modify. This parameter accepts Read, ReadWrite, and FullControl values.truefalse
AccessControlRuleCIAccessControlRule[]Specifies the access control rule that you want to modify.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

Zero or more modified CIAccessControlRule objects

Notes

Examples

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

$myRule = Get-CIAccessControlRule -Entity 'MyCatalog' -User 'MyUser'
Set-CIAccessControlRule -AccessControlRule $myRule -AccessLevel "FullControl"

Provides the MyUser user with full control access to the MyCatalog catalog.


Copyright © VMware, Inc. All rights reserved.