Ticker

6/recent/ticker-posts

Advertisement

How to get hostname with operating system in active directory

How to get hostname with an operating system in active directory

You can use dsquery command and get operating system information about computers. you can also set limit in case in your Active directory server 20000 host you change limit 10000 to 20000 and run the command......


dsquery * -filter "(objectCategory=computer)" -attr name operatingSystem -limit 10000 > c:\computers.csv



Post a Comment

0 Comments