Powershell: Format WMI timestap to normal DateTime
WMI does store timestamp in CIM_DATETIME format. To convert it to a more readable format there is a .Net management Class to help us out.
Some notes from work
WMI does store timestamp in CIM_DATETIME format. To convert it to a more readable format there is a .Net management Class to help us out.
Active Directory sotre date and time as number of 100 nanoseconds intervals. sometimes Gui and powershell results converts this to you to a more readable format. But sometimes it dont. You can convert this in some different ways. One is with powershell