external help file | Module Name | online version | schema |
---|---|---|---|
PSCMSnowflakePatching-help.xml |
PSCMSnowflakePatching |
2.0.0 |
Retrieve all of the software updates available on a local or remote client.
Get-CMSoftwareUpdates [[-ComputerName] <String>] [[-Filter] <String>] [<CommonParameters>]
Retrieve all of the software updates available on a local or remote client.
This function is called by Invoke-CMSnowflakePatching.
The software updates are retrieved from the CCM_SoftwareUpdate WMI class, including all its properties.
Get-CMSoftwareUpdates -ComputerName 'ServerA' -Filter 'ArticleID = "5016627"'
Queries remote system 'ServerA' to see if software update with article ID 5016627 is available. If nothing returns, the update is not available to install.
Name of the remote system you wish to retrieve available software updates from. If omitted, it will execute on localhost.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
WQL query filter used to filter the CCM_SoftwareUpdate class. If omitted, the query will execute without a filter.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.