Get-CMAdministrativeUser

Gets an administrative user.

Syntax

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

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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
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
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False