API Reference
Command
Get-CxSecurityGaps
Returns missing security update gaps for one or more computers for a given month.
Examples
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
- Month to evaluate in yyyy-MM or yyyy-MMM format.
- ComputerName string[]
- Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.
Outputs
ComputerX.Updates.PatchGapInfo