Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1368
  • Last Modified:

DSQuery for user account information

I need to find out which user accounts within an OU has the " smart card is required for interactive logon "
not checked in the account tab of the user's properties.

I have another script that I run using DSQuery for other info and I dont know if I can also use DSQuery for this.
0
CMILLER
Asked:
CMILLER
1 Solution
 
nitadminCommented:
Hi CMILLER,

Neither DSquery or DSget will provide this information.

You will have to write your own script or program to get this inofrmation.

Cheers!
NITADMIN
0
 
ryangormanCommented:
DSquery is more flexible than some people realise. The provided link [1] describes the attributes that you can use via the -ATTR command. I think the attribute that you need is smartCardRequired. It isn't listed but you could try it.

[1] http://www.jsifaq.com/SF/Tips/Tip.aspx?id=7714
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now