How To Get the Full List of Properties of A PowerShell Object

When querying a PowerShell object, it only returns a few essential properties by default. For example, querying the W32_ComputerSystem class with Get-WmiObject cmdlet only returns properties like Manufacturer, ComputerName, TotalPhysicalMemory, etc. To get the full list of the properties of Win32_ComputerSystem class, you can pipe the result to Format-List, like below. Get-WmiObject -Class “Win32_ComputerSystem” | Format-List * You can even […]

How To Convert Active Directory TimeStamp Property to DateTime

Have you ever seen the timestamp format like this and wondered how it’s equivalent to the normal DateTime format? It’s the date/time value stored in Active Directory as the number of 100-nanosecond intervals that have elapsed since the 0 hours on January 1, 1601, until the date/time that is being stored. It’s always in UTC (Coordinated Universal Time, aka. GMT) […]