API Reference
Command
Get-CxWindowsUpdateWsusComputer
Implements the Get-CxWindowsUpdateWsusComputer cmdlet.
Examples
Example 1
Get-CxWindowsUpdateWsusComputer -WsusServer wsus01.contoso.com -MinLastReportedAgeDays 3
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-CxWindowsUpdateWsusComputer -WsusServer <string> [-ActionableOnly] [-ExecutionComputerName <string>] [-ExecutionMode <LocalApi|RemotePowerShell>] [-GroupName <string[]>] [-IncludeApprovedInstallCounters] [-IncludeDownstreamComputerTargets <bool>] [-IncludeUpdateSummary <bool>] [-MaxComputers <int>] [-MinLastReportedAgeDays <double>] [-MinLastSyncAgeDays <double>] [-Port <int>] [-QueryTimeoutSeconds <int>] [-RequestedGroupOnly] [-UseSsl] [<CommonParameters>]#Parameters
- WsusServer string
- WSUS server host name or endpoint URL.
- ActionableOnly SwitchParameter
- When present, returns only rows with actionable update counters (>0 not-installed, pending-reboot, or failed).
- ExecutionComputerName string
- Optional computer name used for remote WSUS-hosted execution. Defaults to the WSUS host when ExecutionMode is .
- ExecutionMode WindowsUpdateWsusExecutionMode
- Selects how the WSUS query is executed. Possible values: LocalApi, RemotePowerShell
- Possible values:
LocalApi,RemotePowerShell - GroupName string[]
- Optional WSUS group name filters.
- IncludeApprovedInstallCounters SwitchParameter
- When present, includes per-update approved-install counters per computer.
- IncludeDownstreamComputerTargets bool
- When true, includes downstream computer targets in WSUS scope.
- IncludeUpdateSummary bool
- When true, includes per-computer update installation summary counters.
- MaxComputers int
- Optional cap on returned computers. Set to 0 to disable.
- MinLastReportedAgeDays double
- Optional minimum status-report age filter in days (for not-reporting style views).
- MinLastSyncAgeDays double
- Optional minimum sync age filter in days.
- Port int
- WSUS server port (typically 8530 or 8531).
- QueryTimeoutSeconds int
- WSUS query timeout in seconds.
- RequestedGroupOnly SwitchParameter
- When present, group filtering is evaluated only against requested target group.
- UseSsl SwitchParameter
- When present, WSUS lookup uses SSL.
Outputs
ComputerX.Updates.WindowsUpdateWsusComputerTelemetry