I’ve been trying to create a Web Report that could capture how many enterprise machines received OS deployment via different OSD deployment servers in our environment. The objective is to create a report that could tell the IT stakeholders on how many machines were built using Standard Images deployed via BigFix and how many machines got built using media like CD or Pen Drives etc.
Surprisingly, I was not able to select/locate any property that could help me capture such OS deployment details (OSD server, machine IP address & name, Deployment Date, Deployment Status etc). The only way that could help me get a high-level detail on various OS deployment tasks is via Activity History feature under OS Deployment & Bare Metal Imaging. The trouble with Activity History is that there are no way to export all the details appearing under History console.
You can get the same after creating 3 properties (Analyses) & then import those properties in WEB Report.
I am using the same thing in my environment.
((now - it) of unique value of (it * second + “01 Jan 1970 00:00:00” as local time) of (it as string as trimmed string as integer) whose(0 != it) of values “InstallDate” of keys “HKLM\Software\Microsoft\Windows NT\CurrentVersion” of (x64 registries;x32 registries)) < (7*day)
Above property will give you information for OS Deployed machine in last 7 days as True.
if (exists wmi AND exists selects “InstallDate from win32_operatingsystem” of wmi AND not ((string value of selects “InstallDate from win32_operatingsystem” of wmi) = “”)) then ((first 4 of (first 8 of string value of (selects “InstallDate from Win32_OperatingSystem” of wmi))) & “-” & (first 2 of (last 4 of (first 8 of string value of (selects “InstallDate from Win32_OperatingSystem” of wmi)))) & “-” & (last 2 of (first 8 of string value of (selects “InstallDate from Win32_OperatingSystem” of wmi)))) else (“N/A”)
Above property will give you information on installation date.
if name of operating system starts with “Win” then value “RegisteredOwner” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion” of native registry as string else if exists value of settings “Registered Owner” of client then value of setting “Registered Owner” of client as string else “”
Above property will display “Registered Owner” name saved in your registry, i am sure you have given some name while creating OSD Profile for bare metal server.
You will get above report & where ever Registered Owner is not Mukesh (OSD) means some one installed OS using PEN DRIVE or MEDIA.