How to Import Windows Install Date in SCCM

Hi, 

I need to import the Original Windows Install Date for the system into SCCM.

I can get the info from various methods like registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion, Systeminfo command or Powershell as well using below :


[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($(get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion').InstallDate))

Could you please help me to get this value in the form of a report or via any other method.

Thanks


June 19th, 2015 2:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics