05-24-2024 09:02 AM
Hey all,
I'm trying to get the future suspension date (if there is any) of all our JumpCloud users. There are hundreds of users but just a few of them have a suspension date. First I read all users using Get-JCUser. Then I loop through all users to get the suspension date using Get-JcSdkBulkUserState. This approach is quite heavy regarding API calls.
Is there a more straight forward approach that doesn't require hundreds of API calls?
Thanks in advance,
Tobias
Solved! Go to Solution.
05-28-2024 11:38 AM
Running Get-JcSdkBulkUserState without any parameters returns all future suspension dates (if there are any) of all users.
05-28-2024 11:38 AM
Running Get-JcSdkBulkUserState without any parameters returns all future suspension dates (if there are any) of all users.
New to the site? Take a look at these additional resources:
Ready to join us? You can register here.