< Back

Get-MSCatalogUpdate

Sat Jan 18, 2020 4:37 pm

NAME Get-MSCatalogUpdate



SYNOPSIS

Query catalog.update.micrsosoft.com for available updates.





SYNTAX

Get-MSCatalogUpdate [-Search] <String> [[-AllPages]] [-Method <String>] [-EventArgument <String>] [-EventTarget

<String>] [-EventValidation <String>] [-ViewState <String>] [-ViewStateGenerator <String>] [<CommonParameters>]





DESCRIPTION

Given that there is currently no public API available for the catalog.update.micrsosoft.com site, this

command makes HTTP requests to the site and parses the returned HTML for the required data.





PARAMETERS

-Search <String>

Specify a string to search for.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AllPages [<SwitchParameter>]

By default this command returns the first page of results from catalog.update.micrsosoft.com, which is

the latest 25 updates matching the search term. If you specify this switch the command will instead

return all pages of results. This can result in a significant increase in the number of HTTP requests

to the catalog.update.micrsosoft.com endpoint.



Required? false

Position? 2

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Method <String>



Required? false

Position? named

Default value Get

Accept pipeline input? false

Accept wildcard characters? false



-EventArgument <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EventTarget <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EventValidation <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ViewState <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ViewStateGenerator <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-MSCatalogUpdate -Search "Cumulative for Windows Server, version 1903"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-MSCatalogUpdate -Search "Cumulative for Windows Server, version 1903" -AllPages















RELATED LINKS