Syntax
Remove-WMNamespacePermission [-Permission] <WMNamespacePermission[]> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Detailed Description
Removes an access permission to a workload namespace.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Permission | WMNamespacePermission[] | Specifies the access permissions 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 | |
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
System.ObjectNotes
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.