PowerCLI Reference

Remove-WMNamespacePermission

Synopsis

Removes an access permission to a workload namespace.

Syntax

Remove-WMNamespacePermission [-Permission] <WMNamespacePermission[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

Removes an access permission to a workload namespace.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
PermissionWMNamespacePermission[]Specifies the access permissions 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

System.Object

Notes

Examples

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

PS C:\> Get-WMNamespacePermission Development -PrincipalName Alice | Remove-WMNamespacePermission

Revokes the access permission of the user Alice to the Development workload namespace.


Copyright © VMware, Inc. All rights reserved.