Example of how you can activate a large number of machines on site.
machinecodescript.ps1
PowerShell script gives the same result as calling Helpers.GetMachineCodePI() in the .NET client library. The script will also append the machine name next to the machine code.
In order to run this script, they may need to change the execution policy to “remote signed”, which can be done with the following command:
removesigned
, you can use the cmd script below:
machinecodescriptsha256.bat
cmd script gives the same result as calling Helpers.GetMachineCodePI(v:2) in the .NET client library. The same machine code will also be generated in the Python client, provided that Helpers.GetMachineCode is called with v=2
.