TestimoX

API Reference

Command

Get-CxWindowsUpdateWsusFleet

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Updates.WindowsUpdateWsusFleetTelemetry

Implements the Get-CxWindowsUpdateWsusFleet cmdlet.

Examples

Authored help example

Example 1


Get-CxWindowsUpdateWsusFleet -WsusServer wsus01.contoso.com
        

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-CxWindowsUpdateWsusFleet -WsusServer <string> [-ExecutionComputerName <string>] [-ExecutionMode <LocalApi|RemotePowerShell>] [-GroupName <string[]>] [-IncludeApprovedInstallCounters] [-IncludeDownstreamComputerTargets <bool>] [-IncludeUpdateSummary <bool>] [-MaxComputers <int>] [-Port <int>] [-QueryTimeoutSeconds <int>] [-RequestedGroupOnly] [-UseSsl] [<CommonParameters>]
#

Parameters

WsusServer string requiredposition: 0pipeline: true (ByValue, ByPropertyName)
WSUS server host name or endpoint URL.
ExecutionComputerName string optionalposition: namedpipeline: false
Optional computer name used for remote WSUS-hosted execution. Defaults to the WSUS host when ExecutionMode is .
ExecutionMode WindowsUpdateWsusExecutionMode optionalposition: namedpipeline: falsevalues: 2
Selects how the WSUS query is executed. Possible values: LocalApi, RemotePowerShell
Possible values: LocalApi, RemotePowerShell
GroupName string[] optionalposition: namedpipeline: false
Optional WSUS group name filters.
IncludeApprovedInstallCounters SwitchParameter optionalposition: namedpipeline: false
When present, includes per-update approved-install counters per computer.
IncludeDownstreamComputerTargets bool optionalposition: namedpipeline: false
When true, includes downstream computer targets in WSUS scope.
IncludeUpdateSummary bool optionalposition: namedpipeline: false
When true, includes per-computer update installation summary counters.
MaxComputers int optionalposition: namedpipeline: false
Optional cap on returned computers. Set to 0 to disable.
Port int optionalposition: namedpipeline: false
WSUS server port (typically 8530 or 8531).
QueryTimeoutSeconds int optionalposition: namedpipeline: false
WSUS query timeout in seconds.
RequestedGroupOnly SwitchParameter optionalposition: namedpipeline: false
When present, group filtering is evaluated only against requested target group.
UseSsl SwitchParameter optionalposition: namedpipeline: false
When present, WSUS lookup uses SSL.

Outputs

ComputerX.Updates.WindowsUpdateWsusFleetTelemetry