Skip to content
  • Blog
  • About
Search for:

Knowledge Base

Some notes from work

  • My linkedin profile

formatTag ArchiveSubscribe

Powershell: Format WMI timestap to normal DateTime

  • Posted on: 19 March, 2021 1 April, 2021
  • Author: niklas
  • Tags: CMI_DATETIME, convert, datetime, format, Powershell, WMI
  • Comment(s): 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.

Search

Search for:

Recent Posts

  • Powershell: Update computer group membership
  • Powershell: Get free diskspace remote computer
  • Microsoft SQL: Get freespace in database file
  • Add DNS alias for Domain Controller
  • AD DS: Collect User cmd history

Tags

4688 active directory ADCS ADDS alias apache Audit CMI_DATETIME convert datetime DHCP DNS domain controller event extract forensic format Hostname https joomla kerberos logon mariadb Microsoft mysql php Powershell privileges remi rhel rhel7 RHEL8 rpm scope SELinux sql ssh ssl troubleshooting virtual host Windows Windows Server WMI yum yum-cron

©  2025  Knowledge Base .  Proudly powered by WordPress. Canary ,   Theme by Linesh Jose .