0 votes

This is the logic I ham useing.

$criteria = New-AdmCriteria -Type "User" -Expression {customAttributeBoolean6 -eq $true}

$usersC = Get-AdmUser -Filter $criteria -properties * -AdaxesService localhost What am I doing wrong or is there a better way to get the list of users into this variable?

error; image.png

by (1.0k points)

1 Answer

0 votes
by (294k points)

Hello,

Unfortunately, there is no such possibility as Adaxes custom attributes cannot be used in search filters and criteria. The behavior is by design. As a solution, you can use the approach from this script: https://www.adaxes.com/script-repository/users-whose-adaxes-custom-attribute-is-not-empty-s43.htm.

Related questions

0 votes
1 answer

We use this date to determin transfers and start dates. Basicaly on this day the Adaxes resets the password. In the report I would like to ... name, first name, last name, employeeID, CustomAttributeboolean1, customattributeboolean2, and customattributedate2.

asked May 17, 2023 by mightycabal (1.0k points)
0 votes
1 answer

I am wanting to export a list of users including the properties of a specific custom attribute. Ideally, I would be able to run a get-admuser and filter on a custom attribute, but even an excel report with the custom attributes would work. Is this possible?

asked Sep 9, 2021 by ggallaway (300 points)
0 votes
1 answer

Using the powershell module, I know how to create a scheduled task, and also how to bind to a scheduled task that is already known. I also have used code to try creating ... same time as another. These are all one-time tasks and will be removed once executed.

asked Jan 19 by aweight (60 points)
0 votes
1 answer

The rule runs but since the first name and last name are passed as parameters, I only get the sequential # as a userID without the initials.

asked Oct 24 by curtisa (290 points)
0 votes
1 answer

Hello, We need a report or a custom command that export all Active Sync devices details. Is there a way to do it ? Thanks :-) Michel

asked Feb 11, 2022 by zemitch (200 points)
3,588 questions
3,277 answers
8,303 comments
548,085 users