PowerCLI Reference

Get-WMNamespacePermission

Synopsis

Retrieves information about workload namespace access permissions.

Syntax

Get-WMNamespacePermission [-Namespace] <WMNamespace[]> [-Domain <String[]>] [-PrincipalName <String[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Detailed Description

Retrieves information about workload namespace access permissions.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NamespaceWMNamespace[]Specifies the workload namespaces whose access permissions you want to retrieve.trueTrue (ByValue)
DomainString[]Specifies a filter for the Domain property of the access permissions you want to retrieve.falseFalse
PrincipalNameString[]Specifies a filter for the PrincipalName property of the access permissions you want to retrieve.falseFalse
ServerVIServer[]Specifies the vCenter Server(s) on which you want to run the cmdlet. If no value is specified to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse

Return Type

VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission

Notes

Examples

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

PS C:\> Get-WMNamespacePermission "Development"

Retrieves all the access control permissions for the workload namespace with name "Development".

-------------------------- Example 2 --------------------------

PS C:\> Get-WMNamespacePermission "Development" -Domain "MyCorpDomain" -PrincipalName "Alice*"

Retrieves the access control permissions for the "Development" namespace for users or groups from the domain "MyCorpDomain" whose PrincipalName starts with "Alice".


Copyright © VMware, Inc. All rights reserved.