We deployed some 2008 servers in the past with the wrong license and now some of them are losing their activation. I can use the slmgr.vbs script to capture individual server status but need to find a way to query all my servers. there are probably a couple hundred.
I used the command
cscript slmgr.vbs computername -xpr
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
The machine is permanently activated.
How can I use the script to query all my 2008 servers an dump the results to it's own result file? example: computername.txt
(I have a text file named computers.txt with all of them listed)