Get-WmiObject is a powershell cmdlet that allows WML queries to be run against WMI objects on the local or remote computers.
Trying to get the difference in days between to dates: Today's date. and a date/time from a wmiobject (this …
powershell datetime typeconverter get-wmiobject