I need to get a remote host date & time including milliseconds using WMI.
The following isn't good enough:
Get-WmiObject Win32_UTCTime -ComputerName MY_REMOTE_HOST
As milliseconds are NOT implemented in the Win32_CurrentTime class which is derived by the Win32_UTCTime class:
Milliseconds
Data type: uint32
Access type: Read-only
Not implemented.
This property is inherited from Win32_CurrentTime.
(https://learn.microsoft.com/en-us/previous-versions/windows/desktop/wmitimepprov/win32-currenttime)
I'd appreciate any other suggestions to obtain this information using WMI from either Powershell or C#.