Archives
-
PowerShell: Convert Active Directory IADSLargeInteger to System.Int64
This PowerShell function will convert an IADSLargeInteger ComObject to a long/Int64 value. Extremely helpful when trying to work with Active Directory attributes like "pwdLastSet" or "lastLogonTimestamp".