How to list Unix machine objects from a specified OU using the /opt/quest/bin/vastool search command
These two commands will work to accomplish this task:
The first one will list any kind of computer in a particular OU, Unix or Windows. The dNSHostName on the end is just an example, you can put any attribute you want to capture in there, leave it off to see all. In the second one (2) you can specify the type of OS, in the example I have to see only the Linux machines in the OU Unix Machines.
1. "vastool -u administrator search -s one -b "OU=Unix Machines,DC=one,DC=com" "(objectClass=computer)" dNSHostName"
2. "vastool -u administrator search -s one -b "OU=Unix Machines,DC=one, DC=com" "(operatingSystem=Linux)" dNSHostName"
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center