On Tue, Jan 23, 2018 at 4:57 PM, Michael B. Smith <mich...@smithcons.com> wrote:
> Does it work when executed directly on that one host? > >From my workstation, this works: Get-WMIObject -Class Win32_QuickFixEngineering -ComputerName $computer -Filter "HotFixID != 'File 1'" I do get a list of the applied updates. This does not: Get-WMIObject -Class Win32_QuickFixEngineering -ComputerName $computer -Filter "HotFixID != 'File 1'"| ? {$_.InstalledON} |sort InstalledOn | select -last 1 I get nothing. Yet that same command works on 100+ other hosts ... -------------------- This same command works locally, I get the latest update applied, and the InstalledOn, exactly as expected. Get-WMIObject -Class Win32_QuickFixEngineering -ComputerName $computer -Filter "HotFixID != 'File 1'"| ? {$_.InstalledON} |sort InstalledOn | select -last 1 So why can I remotely get the list of applied updates, but the sort and selection part does not ? On just this one host?