0 votes

Is there a way to pull a report within Adaxes to find out how many computer objects a user will have associated to them?

by (20 points)

1 Answer

0 votes
by (227k points)

Hello Tarun,

Yes, it is possible. You can use the below script to generate a custom column in a report:

$object = $Context.GetADObject()

# Get mailbox parameters
$mailboxParams = $object.GetMailParameters("ADM_GET_EXCHANGE_PARAMS_FLAGS_NONE")

# Get devices number
$activeSync = $mailboxParams.MailboxFeatures.GetItemByType("ADM_EXCHANGE_MAILBOXFEATURETYPE_ACTIVESYNC")
$Context.Value = $activeSync.MobileDevices.Count

For information on how to create reports, have a look at the following tutorial: https://www.adaxes.com/tutorials_ActiveDirectoryManagement_CreateReport.htm.

Related questions

0 votes
1 answer

For example, if the scope is a specified OU, running the report will list management history for every object in the OU even if it has had no management operations ... so objects that have not had any recent modifications are excluded from the report results?

asked Aug 13, 2021 by ryan741 (120 points)
0 votes
1 answer

We used to run AD Audit and it would provide additional details on what was locking a user's account (workstation name, application, etc...). Is there are way with Adaxes ... on what is locking an account? Or a way to pull historical data on locked accounts?

asked Nov 16, 2020 by pulsifers (20 points)
0 votes
1 answer

When we deprovision a user the member of groups are deleted and the power shell scrips only runs as removing all memberships. I can't see what was removed. Is there a scrips I can run prior to removing those memberships that will e-mail what they are?

asked Oct 15, 2019 by meyerm (50 points)
0 votes
1 answer

Automation of user creation based on ServiceNow ticket creation.

asked Jan 24 by tdetmer (20 points)
0 votes
1 answer

I know I can set the "User must change password at next logon" flag, but noticed when I do that, they can no longer log in to Self-Service.

asked Oct 1, 2020 by RickWaukCo (300 points)
2,797 questions
2,530 answers
6,594 comments
57,120 users