< Back
Save-MSCatalogUpdate
Post
NAME Save-MSCatalogUpdate
SYNOPSIS
Download an update file from catalog.update.micrsosoft.com.
SYNTAX
Save-MSCatalogUpdate [-Update] <Object> [-Destination] <String> [[-Language] <String>] [<CommonParameters>]
Save-MSCatalogUpdate [-Guid] <String> [-Destination] <String> [[-Language] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Update <Object>
Specify the update to be downloaded.
The update object is retrieved using the Get-MSCatalogUpdate function.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Guid <String>
Specify the Guid for the update to be downloaded.
The Guid is retrieved using the Get-MSCatalogUpdate function.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Destination <String>
Specify the destination directory to download the update to.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Language <String>
Some updates are available in multiple languages. By default this function will list all available
files for a specific update and prompt you to select the one to download. If you wish to remove
this prompt you can specify a language-country code combination e.g. "en-us".
Required? false
Position? 3
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:\\>$Update = Get-MSCatalogUpdate -Search "KB4515384"
Save-MSCatalogUpdate -Update $Update -Destination C:\\Windows\\Temp\\
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Save-MSCatalogUpdate -Guid "5570183b-a0b7-4478-b0af-47a6e65417ca" -Destination C:\\Windows\\Temp\\
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$Update = Get-MSCatalogUpdate -Search "KB4515384"
Save-MSCatalogUpdate -Update $Update -Destination C:\\Windows\\Temp\\ -Language "en-us"
RELATED LINKS
SYNOPSIS
Download an update file from catalog.update.micrsosoft.com.
SYNTAX
Save-MSCatalogUpdate [-Update] <Object> [-Destination] <String> [[-Language] <String>] [<CommonParameters>]
Save-MSCatalogUpdate [-Guid] <String> [-Destination] <String> [[-Language] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Update <Object>
Specify the update to be downloaded.
The update object is retrieved using the Get-MSCatalogUpdate function.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Guid <String>
Specify the Guid for the update to be downloaded.
The Guid is retrieved using the Get-MSCatalogUpdate function.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Destination <String>
Specify the destination directory to download the update to.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Language <String>
Some updates are available in multiple languages. By default this function will list all available
files for a specific update and prompt you to select the one to download. If you wish to remove
this prompt you can specify a language-country code combination e.g. "en-us".
Required? false
Position? 3
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:\\>$Update = Get-MSCatalogUpdate -Search "KB4515384"
Save-MSCatalogUpdate -Update $Update -Destination C:\\Windows\\Temp\\
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Save-MSCatalogUpdate -Guid "5570183b-a0b7-4478-b0af-47a6e65417ca" -Destination C:\\Windows\\Temp\\
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$Update = Get-MSCatalogUpdate -Search "KB4515384"
Save-MSCatalogUpdate -Update $Update -Destination C:\\Windows\\Temp\\ -Language "en-us"
RELATED LINKS