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 (272k 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 (40 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)
0 votes
1 answer

As the title says is it still a requirement?

asked Feb 23, 2023 by techg (320 points)
3,351 questions
3,052 answers
7,791 comments
545,091 users