Export (0) Print
Expand All
Expand Minimize

Remove-CMSecurityScopeFromAdministrativeUser

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Remove-CMSecurityScopeFromAdministrativeUser

Removes the association between security scopes and an administrative user.

Syntax

Parameter Set: RemoveScopeFromAdminByName_Name
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserName <String> -SecurityScopeName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminById_Id
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserId <Int32> -SecurityScopeId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminById_Name
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserName <String> -SecurityScopeId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminById_Object
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUser <IResultObject> -SecurityScopeId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminByName_Id
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserId <Int32> -SecurityScopeName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminByName_Object
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUser <IResultObject> -SecurityScopeName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminByObject_Id
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserId <Int32> -SecurityScope <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminByObject_Name
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserName <String> -SecurityScope <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RemoveScopeFromAdminByObject_Object
Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUser <IResultObject> -SecurityScope <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-CMSecurityScopeFromAdministrativeUser cmdlet removes the association between one or more security scopes and an administrative user.

After you remove the association between a security scope and an administrative user, the administrative user cannot view the objects in Microsoft System Center 2012 Configuration Manager that are associated with the security scope, and no longer has the permission to perform the tasks that are related to those objects.

Parameters

-AdministrativeUser<IResultObject>

Specifies a CMAdministrativeUser object. To obtain a CMAdministrativeUser object, use the Get-CMAdministrativeUser cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AdministrativeUserId<Int32>

Specifies the ID of an administrative user.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AdministrativeUserName<String>

Specifies the name of an administrative user.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Removes the association between a security scope and an administrative user without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecurityScope<IResultObject>

Specifies a CMSecurityScope object. To obtain a CMSecurityScope object, use the Get-CMSecurityScope cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecurityScopeId<String>

Specifies the ID of a security scope.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecurityScopeName<String>

Specifies the name of a security scope. A security scope name can be Default or the name of a custom-created security scope.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Remove a security scopes from an administrative user

This command removes the association between the security scope named SecScope02 and the administrative user named Team04\TeamAdmin.


PS C:\> Remove-CMSecurityScopeFromAdministrativeUser -AdministrativeUserName "Team04\TeamAdmin" -SecurityScopeName "SecScope02"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft