I am a newbie and have completed the JumpStarts and working through the Learn Windows PowerShell 3 in a Month of Lunches and have run into something that has confused me with the Chapter 8 Lab. It wants me to select and sort by the Installed Date and when I look at the
members of the get-hotfix cmdlet, it shows 'InstallDate' but when you use it you don't get a return. By just running get-hotfix, I notice the column 'InstalledOn'. When I select InstalledOn instead of InstallDate I get the results I am expecting. My question is then, am I misunderstanding something?
The InstallDate of the base object isn't usually populated by the OS. The PowerShell team added InstalledOn, which is a ScriptProperty that digs into the object to get the date – so that you'll have one.
The topic ‘Get-Hotfix object installdate’ is closed to new replies.