mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
4c73ccb338
* Add dns_cache * Add ntdomains * Add userassist * add shimcache * Spacing
14 lines
532 B
YAML
14 lines
532 B
YAML
name: ntdomains
|
|
examples: >-
|
|
If the system is joined to a domain, this query will return the domain name as well as all known domain controllers and their IP addresses.
|
|
|
|
```
|
|
|
|
SELECT domain_name, domain_controller_name, domain_controller_address, status FROM ntdomains WHERE domain_name != "";
|
|
|
|
```
|
|
|
|
notes: >-
|
|
|
|
This table returns a row even if the local system is not joined to a domain - in this case, the `status` column will be `Unknown` and the `name` column will contain `Domain: $Hostname of local system`.
|