Get-CMAdministrativeUser

Gets an administrative user.

Syntax

Get-CMAdministrativeUser
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Id <String>
   [-RoleName <String[]>]
   [<CommonParameters>]
Get-CMAdministrativeUser [-DisableWildcardHandling] [-ForceWildcardHandling] [-Name ]
 [-RoleName ] []

Description

The Get-CMAdministrativeUser cmdlet gets one or more administrative users in Microsoft System Center Configuration Manager. An administrative user has a defined set of permissions and may be a member of one or more scopes or roles.

Examples

Example 1: Get all the administrative users

PS C:\> Get-CMAdministrativeUser

This command gets all administrative users.

Example 2: Get administrative user by name

PS C:\> Get-CMAdministrativeUser -Name "testDomain\myAdminUser"

This command gets the administrative user named AdminUser1.

Required Parameters

-Id

Specifies the ID of an administrative user.

Type:String
Aliases:AdminId
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the administrative user in the form <domain>\<user>.

Type:String
Aliases:DisplayName, LogonName, UserName
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RoleName

Specifies an array of names of security roles. Valid values are: - Application Administrator

  • Application Author
  • Application Deployment Manager
  • Asset Manager
  • Compliance Settings Manager
  • Discovery Operator
  • Endpoint Protection Manager
  • Full Administrator
  • Infrastructure Administrator
  • Operating System Deployment Manager
  • Operations Administrator
  • Read-only Analyst
  • Remote Tools Operator
  • Security Administrator
  • Software Update Manager
  • Custom-defined security roles
Type:String[]
Aliases:RoleNames
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False