0 votes

Hi

According to your SDK for Get-AdmUser, you can use criteria for filtering if the adaxes service is specified, can you please give an example of how this is done? I've tried creating a criterior, which seems to work, but I can't see how to use this with the Get-AdmUser command.

Also, how would it be possible to see the results of the New-AdmCriteria command, all I can see is

ObjectTypes {user}

but I can't find a way to expand the results.

Thanks

Matt

by (2.0k points)

1 Answer

0 votes
by (289k points)

Hello Matt,

According to your SDK for Get-AdmUser, you can use criteria for filtering if the adaxes service is specified, can you please give an example of how this is done?

The article does not say about using criteria with the cmdlet parameter. It states that the criteria expression can be used. There is no need to build an object of criteria class.

Also, how would it be possible to see the results of the New-AdmCriteria command, all I can see is

What exactly do you mean? What would you like to see?

Related questions

0 votes
1 answer

I know I got this code to check for a unique email address from you guys, just can't find where Import-Module Adaxes if ($Context.IsPropertyModified("mail")) { $value = ... all the targeted type of objects under Adaxes' purview? Thanks again for the help!!!

asked Mar 25, 2013 by jiambor (1.2k points)
0 votes
1 answer

This is the logic I ham useing. $criteria = New-AdmCriteria -Type "User" -Expression {customAttributeBoolean6 -eq $true} $usersC = Get-AdmUser -Filter $criteria -properties * - ... there a better way to get the list of users into this variable? error;

asked Dec 14, 2023 by mightycabal (1.0k points)
0 votes
1 answer

I am getting the following error... The type initializer for 'System.Management.Automation.PSCredential' threw an exception. The term 'Get-AdmUser' is not recognized as the ... working for months and then suddenly... BOOM! They started throwing this error.

asked Sep 2, 2016 by rmedeiros (380 points)
0 votes
1 answer

Hi, I know there probably better places for this question but since I need to use Get-AdmUser I was wondering if you could help me build a Filter to find all ... automatically send a report every month but we need to narrow it down Thanks in advance Ingemar

asked Sep 15, 2015 by ijacob (960 points)
0 votes
1 answer

We are having problems with the Get-AdmUser command. We are trying to run a user count task, but our script times out with "The pipeline has been stopped". We debugged the script, ... `"$domainName`",`"$custnr`",`"$custname`",`"$desc`",`"$memacc $memna`"" } }

asked Mar 5, 2013 by kjesoo (960 points)
3,548 questions
3,238 answers
8,232 comments
547,813 users