โ08-13-2024 12:20 PM
Admins need to know which of their other JumpCloud admins have MFA/TOTP enabled as well as some other auditing practices such as an admin's state, or even when the last time their API key was rotated. The new, Get-JCAdmin, function will allow admins the ability to do just that, as well as some other things. We are introducing this function simply to allow admins an easier way of auditing their environment and exporting the results quickly to a CSV or any other file type.
Currently, there are no plans into implement creating/editing admins within the PowerShell module, for now that will have to be done inside the Console.
apiKeyUpdatedAt : 7/5/2023 11:17:29 PM
created : 5/11/2022 4:12:00 PM
email : geoffrey.wein+readonly@jumpcloud.com
enableMultiFactor : False
firstname : Geoffrey
lastname : Wein
organization : organizationID
roleName : Read Only
suspended : False
totpEnrolled : False
totpUpdatedAt :
Get-JCAdmin
If you are in an MTP/MSP tenant, this will return all admins across all of your organizations
Get-JCAdmin -email 'john.doe@example.com'
The email parameter accepts wildcards for filtering so if you don't know the exact admin's email address you can do the following:
Get-JCAdmin -email 'john*'
Get-JCAdmin -enableMultifactor $true
Get-JCAdmin -totpEnrolled $true
Get-JCAdmin -roleName "Administrator With Billing"
Get-JCAdmin -email "*@example.com" -enableMultiFactor $false -roleName "Administrator With Billing"
New to the site? Take a look at these additional resources:
Ready to join us? You can register here.