Category PowerShell

PowerShell: Get Well-Known Objects (WKO)

Depending on your environment, default well-known containers may have been renamed or, for example, default locations for new users and computers may have been changed using REDIRUSR.EXE and REDIRCMP.EXE. If you need the actual DNs, you have to read the…

PowerShell: Getting JIT group memberships

If you are using temporary group memberships introduced as a part of the Privileged Access Management optional feature in Server 2016, the tool to AD and query them, as per Microsoft guidance, is the RSAT PowerShell module for Active Directory.…