Is there a vastool command to find out the operating system on the domain controllers (DC)?
Is there a command to find out windows operating system version in QAS?
For a domain controller's operating system the following command can be run on a client that is joined to the domain:
for s in `/opt/quest/bin/vastool info servers | sed '1d' | cut -d. -f1`; do echo $s; vastool -u host/ search -q "(&(cn=$s)(objectClass=computer))" operatingSystem; echo; done
Another useful command is to one to find the Active Directory PDC:
for s in `/opt/quest/bin/vastool info servers -s \* | sed '1d'`; do echo $s; /opt/quest/bin/vastool info cldap $s | grep PDC; echo; done
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center