Set-VBRGeneralUpdateOptions
Short Description
Modifies general update settings.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRGeneralUpdateOptions [-SourceRepositoryType <VBRUpdateSourceRepositoryType>] [-AutoUpdatePeriod <Int32>] [-CustomRepositoryPath <String>] [-ServerCertificate <X509Certificate2>] [-MaintenanceWindow <VBRMaintenanceWindowOptions>] [-UpdatesType <VBRUpdateType>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies general update settings.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
AutoUpdatePeriod | Specifies a compliance deadline for updates. After being available for the specified number of days, any pending updates will be installed immediately. | Int32 | False | Named | False |
CustomRepositoryPath | Specifies a local mirror of the Veeam update repository. | String | False | Named | False |
MaintenanceWindow | Specifies a maintenance window when updates are installed automatically. | Accepts the VBRMaintenanceWindowOptions object. To get this object, run the New-VBRMaintenanceWindowOptions cmdlet. | False | Named | False |
ServerCertificate | Specifies the server certificate used during SSL verification. | X509Certificate2 | False | Named | False |
SourceRepositoryType | Specifies if updates are installed from the official Veeam repository or a local mirror. | VBRUpdateSourceRepositoryType | False | Named | False |
UpdatesType | Specifies if available optional updates are installed automatically. | VBRUpdateType | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRGeneralUpdateOptions
Examples
Example 1. Updating From Veeam Repository
This command sets the official Veeam repository as the source of updates and specifies a maintenance window. Only security updates are installed. There is a 30 day compliance deadline.
|
Example 2. Updating From Local Repository
This command sets a local repository as the source of updates and specifies a maintenance window. Security and optional updates are installed. There is a 30 day compliance deadline.
|
Related Commands