TestimoX

API Reference

Command

Get-CxUpdatesInstalled

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

Returns the installed update inventory for one or more computers.

Examples

Authored help example

Example 1: Lists installed updates on the local machine.

PS>


Get-CxUpdatesInstalled
        

Example 2: Queries two servers and filters the output to recent cumulative update KBs.

PS>


Get-CxUpdatesInstalled -ComputerName APP01,APP02 | Where-Object HotFixId -like 'KB5*'
        

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-CxUpdatesInstalled [-ComputerName <string[]>] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.

Outputs

ComputerX.Updates.UpdateInfo