Script Download:  
The script is available for download from  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

This script sample shows how to check if Windows is activated on one or more computers.

In a real world, sometimes IT admins need to audit all of computers whether if activated. They usually remote each one to check it. This script will report the currently or remotely computer license activation state.

As well as being a useful test while you are building a new server, you can also use it to test the setup of your whole estate.

You can find more All-In-One Script Framework script samples at