KMS Search in Active Directory and Status update
-
Wednesday, February 15, 2012 10:21 AM
Hello everyone,
I have KMS Server 2008 R2 with VAMT. I need to search for all computers in my forest because I need an inventory about ALL computers that have obtained a license from my KMS Server.
The VAMT query give me more than 24.000 computers, but VAMT tool hasn´t a "select all" option and select with the scroll bar + shift is very SLOW!
After this, I have to wait and update status of the 24.000 computers... This is impossible... VAMT Crash after this action.
anybody knows about command line or script to search for ALL FOREST COMPUTERS and Update computers status???? I need to query for all computers in a domain and list "Operating System Type" or "Office version".
This is because I need to make an inventory of license status of our customer.
Thanks in advace!
Cristian
Cristian Neira
All Replies
-
Wednesday, February 15, 2012 10:41 AM
Hi,
Try this two line in PowerShell:
$objForest = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest() $objForest.Sites | Select-Object Name
Cordialement, KETATA Ramy " If one can do it, I can do it. If no one can do it, I must do it " Si ma réponse vous a été utile et/ou apporté une résolution, Merci de Voter ou de la marquer comme Utile
- Marked As Answer by Miya YaoModerator Monday, February 27, 2012 4:55 AM
-
Thursday, February 16, 2012 6:52 AMModerator
Did you try KETATA Ramy's method?
I also suggest you ask this question in Windows Server forum: http://social.technet.microsoft.com/Forums/en-US/category/windowsserver
Thanks for your understanding and cooperation!
Regards,
Miya
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Miya Yao
TechNet Community Support
-
Tuesday, February 21, 2012 4:36 AMModerator
How's it going?
Please feel free to give us any update.
Regards,
Miya
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Miya Yao
TechNet Community Support

