Get Last Write Time and Class Name of Registry Keys

PowerShell method of getting the last write time and class name of registry keys. Provides examples of P/Invoke and a proxy function.

 
 
 
 
 
5 Star
(1)
2,936 times
Add to favorites
Operating System
12/30/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • LastModifieddate and ClassName comes up empty
    2 Posts | Last post July 15, 2017
    • On windows 7, LastWriteName and Classname comes up empty. 
      PS C:\Users\oozyer.ORADEV> dir HKLM:\SOFTWARE | select LastWriteTime, ClassName, Name
      
      LastWriteTime      ClassName                               Name
      -------------      ---------                               ----
                                                                                      
                                                                HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip
                                                                                      
                                                                HKEY_LOCAL_MACHINE\SOFTWARE\Apple 
      
      Windows PowerShell
      Copyright (C) 2009 Microsoft Corporation. All rights reserved.
    • I just saw, version 2 is required.