none
WinPE powershell get-date incorrect RRS feed

  • Question

  • Greetings,

      We are running the latest MDT, WinPE and CM2012 CU2.

      I wanted to track the time it takes to build an OS.

      I have a powershell script that does a simple get-date during the WinPE phase and a powershell script that does a get-date at the end of the OSD. The one at the end is fine. The get-date in WinPE is returning a time 18 hours ahead of the current time. We are GMT+10 and the computer BIOS that we are deploying to has the correct date/time. Is this some weird WinPE powershell default that all datetimes are 18 hours ahead of the real datetime?

    Cheers

    David Z

    Sunday, August 24, 2014 11:49 PM

Answers