while ago, i created the ConfigMgrRegistrationRequest . This tool was written in C# and used the beta/RC version of the CM12 SP1 SDK.
Since then, i started to move all my scripts from any language (vbscript, c#, etc) to powershell and today i’m happy to announce the beta version of the CM12R2RegistrationRequest.
If you don’t know what this tool is, let me explain:
This tool allow you create fake clients in the configuration manager enviornment. but you may be thinking why someone wants that? Easy..
1- size of your database
2- test reports
Once you run the tool, it will open a file called Import.csv (where you need to change the domain, site code, ip address, etc) and create a new record for each new PC. It will also send a DDR, request policy and send a test hardware inventory.
As you may notice, there are 2 template xml files called DDRTemplate.xml and HINVTemplate.xml. As you can imagine, these files are used as template when sending DDR as well as HInventory.
Anyway, download the CM12R2RegistrationRequest zip and use the powershell script as following:
1- Open the Import.csv and change the sitecode, domain, etc…
2- Run powershell as administrator
3- execute CM12R2RegistrationRequest.ps1 -smsmp ‘servername’
Note: Do not forget to download the SCCM 2012 R2 SDK and copy the Microsoft.ConfigurationManagement.Messaging.dll DLL to the same folder as the powershell scripts