Skip to content

Commit 819e5ab

Browse files
committed
rbac cmdlets
1 parent 9f3e7a9 commit 819e5ab

1 file changed

Lines changed: 37 additions & 1 deletion

File tree

memdocs/configmgr/core/servers/deploy/configure/configure-role-based-administration.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configure role-based administration
33
titleSuffix: Configuration Manager
44
description: Combine security roles, security scopes, and assigned collections to define the administrative scope for each administrative user.
5-
ms.date: 04/15/2021
5+
ms.date: 12/21/2021
66
ms.prod: configuration-manager
77
ms.technology: configmgr-core
88
ms.topic: how-to
@@ -283,6 +283,42 @@ Use the following procedure to modify an administrative user that has the secura
283283
> [!CAUTION]
284284
> When a security role grants administrative users the collection deployment permission, those administrative users can distribute objects from any security scope for which they have object **read** permissions, even if that security scope is associated with a different security role.
285285
286+
## Automate with Windows PowerShell
287+
288+
You can use the following PowerShell cmdlets to automate some of these tasks:
289+
290+
Manage security roles:
291+
292+
- [Copy-CMSecurityRole](/powershell/module/configurationmanager/Copy-CMSecurityRole): Create a custom security role.
293+
- [Export-CMSecurityRole](/powershell/module/configurationmanager/Export-CMSecurityRole): Export a security role to an XML file.
294+
- [Get-CMSecurityRole](/powershell/module/configurationmanager/Get-CMSecurityRole): Get a security role.
295+
- [Import-CMSecurityRole](/powershell/module/configurationmanager/Import-CMSecurityRole): Import a security role from an XML file.
296+
- [Remove-CMSecurityRole](/powershell/module/configurationmanager/Remove-CMSecurityRole): Remove custom security roles.
297+
- [Set-CMSecurityRole](/powershell/module/configurationmanager/Set-CMSecurityRole): Change configuration settings of a security role.
298+
- [Add-CMSecurityRoleToAdministrativeUser](/powershell/module/configurationmanager/Add-CMSecurityRoleToAdministrativeUser): Add a security role to a user or group.
299+
- [Remove-CMSecurityRoleFromAdministrativeUser](/powershell/module/configurationmanager/Remove-CMSecurityRoleFromAdministrativeUser): Remove the association between a security role and an administrative user.
300+
301+
Manage permissions on security roles:
302+
303+
- [Get-CMSecurityRolePermission](/powershell/module/configurationmanager/Get-CMSecurityRolePermission): Get the permissions for a security role.
304+
- [Set-CMSecurityRolePermission](/powershell/module/configurationmanager/Set-CMSecurityRolePermission): Configure a security role with specific permissions.
305+
306+
Manage security scopes:
307+
308+
- [Get-CMSecurityScope](/powershell/module/configurationmanager/Get-CMSecurityScope): Get a security scope.
309+
- [New-CMSecurityScope](/powershell/module/configurationmanager/New-CMSecurityScope): Create a security scope.
310+
- [Remove-CMSecurityScope](/powershell/module/configurationmanager/Remove-CMSecurityScope): Remove a security scope.
311+
- [Set-CMSecurityScope](/powershell/module/configurationmanager/Set-CMSecurityScope): Configure a security scope.
312+
- [Add-CMSecurityScopeToAdministrativeUser](/powershell/module/configurationmanager/Add-CMSecurityScopeToAdministrativeUser): Add a security scope to a user or group.
313+
- [Remove-CMSecurityScopeFromAdministrativeUser](/powershell/module/configurationmanager/Remove-CMSecurityScopeToAdministrativeUser): Remove the association between a security scope and an administrative user.
314+
315+
Manage object security scope:
316+
317+
- [Add-CMObjectSecurityScope](/powershell/module/configurationmanager/Add-CMObjectSecurityScope): Add a security scope to an object.
318+
- [Get-CMObjectSecurityScope](/powershell/module/configurationmanager/Get-CMObjectSecurityScope): Get the security scope for a Configuration Manager object.
319+
- [Remove-CMObjectSecurityScope](/powershell/module/configurationmanager/Remove-CMObjectSecurityScope): Remove a security scope from a Configuration Manager object.
320+
- [Set-CMObjectSecurityScope](/powershell/module/configurationmanager/Set-CMObjectSecurityScope): Configure the security scopes for Configuration Manager objects.
321+
286322
## Next steps
287323

288324
[Role-based administration and auditing tool](../../../support/rbaviewer.md)

0 commit comments

Comments
 (0)