TestimoX

API Reference

Command

Get-CxWmiNamespacePermission

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Wmi.WmiNamespacePermissions+Entry

Gets WMI namespace permissions (DACL) as typed entries.

Examples

Authored help example

Example 1


Get-CxWmiNamespacePermission -Namespace 'root\\cimv2'
        

Example 2


Get-CxWmiNamespacePermission -ComputerName SRV1 -Namespace 'root\\subscription'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-CxWmiNamespacePermission [-ComputerName <string>] -Namespace <string> [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: 0pipeline: true (ByPropertyName)
Target computer(s). Use '.' for local computer or provide DNS names.
Namespace string requiredposition: 1pipeline: false
Gets or sets the Namespace parameter.

Outputs

ComputerX.Wmi.WmiNamespacePermissions+Entry