How to querry server for license information using slmgr.vbs
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)
In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!