Formating issue using reporting command

Jun 11, 2013 at 3:07 PM
Edited Jun 11, 2013 at 3:08 PM
Hello,

I tried to get the list of failed update using the following command :

Get-PoshWSUSUpdatePerClient -UpdateScope (New-PoshWSUSUpdateScope -IncludedInstallationStates Failed)

Inside the get-help there is an example formatted with FT and lot of information (exactly what I need):

Get-PoshWSUSUpdatePerClient -UpdateScope (New-PoshWSUSUpdateScope -IncludedInstallationStates Failed)
Computername         TargetGroup               UpdateKB   UpdateTitle     UpdateInstallationSt ate UpdateApprovalAction                 

------------         -----------               --------   -----------                              -------------------- ---------------
TEST1                Servers - Test            979909     Microsoft .NET Framework 3.5 SP1 and ... Failed               Install
But when I run the same command here is the result :

Get-PoshWSUSUpdatePerClient -UpdateScope (New-PoshWSUSUpdateScope -IncludedInstallationStates Failed)

UpdateServer                : Microsoft.UpdateServices.Internal.BaseApi.UpdateServer
UpdateInstallationState     : Failed
UpdateApprovalAction        : Install
UpdateApprovalTargetGroupId : f6cb15be-02a0-4b12-972a-c3793c645drt
ComputerTargetId            : 48a310b8-3d24-404a-8d3e-27fb176a81212
UpdateId                    : 395869ed-bb5d-4090-b52c-48006e1fb789
And I don't know how to get the computername or the update KB from this output.

If someone can explain or help it would be nice !
Thanks