TestimoX

API Reference

Command

Get-CxSecurityGaps

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

Returns missing security update gaps for one or more computers for a given month.

Examples

Authored help example

Example 1: Returns the missing March 2026 security updates for the local machine.

PS>


Get-CxSecurityGaps -Month 2026-03
        

Example 2: Checks domain controllers for missing security updates from the current baseline month.

PS>


Get-CxSecurityGaps -Month 2026-03 -ComputerName DC01,DC02
        

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

Parameters

Month string requiredposition: 0pipeline: false
Month to evaluate in yyyy-MM or yyyy-MMM format.
ComputerName string[] optionalposition: 1pipeline: 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.PatchGapInfo