Script to get windows activation status

Anonymous
2023-08-17T12:30:23.0066667+00:00

I have to find out whether Windows servers are licensed and activated in my environment. These servers are 2008R2 enterprise servers.

I am running the below command in PS but it only gives me results of a single server, does anyone have a script that outputs results for around 100+ servers?

cscript c:\windows\system32\slmgr.vbs /xpr
Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-17T12:38:07.42+00:00

    You could follow along here.

    https://woshub.com/check-windows-activation-status/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.