TestimoX

API Reference

Command

Get-CxWindowsUpdateHistory

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Updates.WindowsUpdateHistoryEntry

Implements the Get-CxWindowsUpdateHistory cmdlet.

Examples

Authored help example

Example 1


Get-CxWindowsUpdateHistory
        

Example 2


Get-CxWindowsUpdateHistory -ComputerName DC01 -Days 30 -MaxEntries 100
        

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-CxWindowsUpdateHistory [-ComputerName <string[]>] [-Days <int>] [-MaxEntries <int>] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)aliases: ServerName
Target computer(s). Use '.' for local computer or provide DNS names.
Days int optionalposition: namedpipeline: false
Optional number of days to keep from the newest history window. Set to 0 to disable the cutoff.
MaxEntries int optionalposition: namedpipeline: false
Optional maximum number of entries returned per computer. Set to 0 to disable the cap.

Outputs

ComputerX.Updates.WindowsUpdateHistoryEntry