1
Vote

Get-PSWSUSUpdatePerClient throws ambiguity error

description

Version 2.3.

So I'm passing Computername, but being told I'm not.
PS C:\scripts\powershell> Get-PSWSUSUpdatePerClient -ComputerName SOMEPCNAME
Get-PSWSUSUpdatePerClient : Parameter cannot be processed because the parameter name 'Computer' is ambiguous. Possible matches include:
-Computername -ComputerTargetGroups.
At line:1 char:1
+ Get-PSWSUSUpdatePerClient -ComputerName ntweb1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-PSWSUSUpdatePerClient], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameter,Get-PSWSUSUpdatePerClient
Also, ComputerTargetGroups isn't in Get-PSWSUSUpdatePerClient...?

comments

andreww9r wrote Mar 21, 2016 at 2:45 PM

oops. moving to github instead.