Getting SCSM security roles of a specific user with PowerShell

SCSM security role delegation can be managed (listed and modified) using PowerShell commands. In this recipe, we discuss and provide steps to list all SCSM security roles a specific user is a member of using the SCSM PowerShell commands.

Getting ready

You need to ensure you have successfully installed the SCSM product, are a user in the SCSM Administrators role and have the SCSM console open.

You must download and install the SCSM PowerShell Cmdlets found at http://smlets.codeplex.com/ (see the Downloading and installing SMLets recipe in Chapter 12, Automating Service Manager 2016).

How to do it...

Here are the steps you must follow to list the configuration of security roles using PowerShell ...

Get Microsoft System Center 2016 Service Manager Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.