ADQuery 1.0.0.0004 en
Introduction: ADQuery
Download Location
This content is available at: https://content.tanium.com/files/published/ADQuery/2015-12-03_06-34-08_1.0.0.0004-g04a39ce/ADQuery.xml
Usage
Questions
Has Stale AD Computer Attributes
Get Target from all machines with Has Stale AD Attributes[4] containing "true"
Packages
Get AD Computer Attributes
This package contains 1 files and 0 sensors.
Additional Properties:
- Command Line: cmd /c cscript //T:60 get_ad_comp_attr.vbs
- Command Line Timeout: 60
Files:
- get_ad_comp_attr.vbs
AD Computer Attributes
Retrieves Active Directory computer attributes from the Tools\AdQuery\compAttr.dat file.
Parameters
{"parameters":[{"label":"Attribute Type","requireSelection":true,"helpString":null,"defaultValue":"","value":"","promptText":"Enter attribute type","key":"type","values":["Mandatory","Optional"],"parameterType":"com.tanium.components.parameters::DropDownParameter","model":"com.tanium.components.parameters::DropDownParameter"},{"validationExpressions":[],"label":"Attribute Name","helpString":"Attribute to retrive","defaultValue":"","value":"","promptText":"Enter attribute","maxChars":0,"key":"attr","restrict":null,"parameterType":"com.tanium.components.parameters::TextInputParameter","model":"com.tanium.components.parameters::TextInputParameter"}],"parameterType":"com.tanium.components.parameters::ParametersArray","model":"com.tanium.components.parameters::ParametersArray"}
Has Stale AD Attributes
Returns True or False based on user provided number of hours the Tools\AdQuery\compAttr.dat file should be considered stale. Compares the current time against the time the dat file was created. Default is 4 hours.
Parameters
{"parameters":[{"label":"Hour Difference","stepSize":1,"helpString":"Hours old to be considered stale.","defaultValue":"4","value":"4","minimum":2,"key":"threshold","maximum":24,"snapInterval":1,"parameterType":"com.tanium.components.parameters::NumericParameter","model":"com.tanium.components.parameters::NumericParameter"}],"parameterType":"com.tanium.components.parameters::ParametersArray","model":"com.tanium.components.parameters::ParametersArray"}
Actions
Deploy Get AD Computer Attributes
Packages: