Update Tatooing Information with Compliance Item and netECM:MiniWebService

Today I could extend my MiniWebService (Which is freeware Zwinkerndes Smiley!!!) with a new great feature which will help ConfigMgr Admins to maintain their devices.

Typically we write some information, like the Staging date and all the device variables to the local registry during OSD. The new feature allows administrators to update these Device Variables from ConfigMgr in the registry. So they can be used trough Hardware Inventory in Reports or Collections Queries (You can’t use Device Variables directly in reports or queries).

How to

  1. Download baseVISION MiniWebService
  2. Install netECM:MiniWebService on your ConfigMgr Server (Manual can be found here)

Now you can request the variables with the following PowerShell Script:

$p = New-WebServiceProxy -Uri http://localhost/netECMMiniWebService/TSClient.svc
$varsJson = $p.GetDeviceVariables($env:computername)

The $vars Variable does now contains a JSON serialized Dictionary object. To convert the String we can use the following commands:

[System.Reflection.Assembly]::LoadWithPartialName(“System.Web.Extensions”)
$ser = New-Object System.Web.Script.Serialization.JavaScriptSerializer
$vars = $ser.DeserializeObject($varsJson)

Now you can Access the result:

PS C:\Users\administrator.CONTOSO> $vars

Key                                                         Value
—                                                         —–
Company                                                     Contoso
Domain                                                      contoso
HardDiskSizeFix                                             False
Language                                                    EN
OfficeVersion                                               2007
OS                                                          Windows81

I hope this new feature will also help you in your environment. Other features of the free service are:

  • Install all assigned Apps during OS deployment. When the task sequence ends, it has really finished installing! –> Blog Post
  • Automatically change Local Administrator Passwords and store them central. –> Blog Post
  • Set BIOS Time to Server Time in TS –> Blog Post
Thomas Kurth

Thomas Kurth

I’m a consultant, trainer and architect formodern workplace and enterprise mobility projects with Microsoft Technologies in the past eight years. I love to push and design the modern workplace based on Windows 10, EM&S and O365 for my customers which is the only answer for the current security threats, agile world and the fast-changing business requirements of my customers. Important for me is to simplify and automate the operational processes, because there are the highest costs.
Enterprise Adminstrator ExpertMCTCMCE

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe
Hosting sponsored by:
Archive