Chocolatey Packages

Documentation about My Chocolatey Packages.

View project on GitHub

Install-VeeamIsoPatchIfNeeded

Installs a Veeam patch from an ISO when a matching entry exists in a settings XML file.

Syntax

Install-VeeamIsoPatchIfNeeded `
  -PackageName <String> `
  -IsoFile <String> `
  -SettingsFile <String> `
  [-SilentArgs <String[]>] `
  [-ValidExitCodes <Object>] `
  -Destination <String> `
  -ProductName <String> `
  [-IgnoredArguments <Object[]>] [<CommonParameters>]

Description

Parses a Veeam setup settings XML (such as VSPCSettings.xml or VbrConsoleSettings.xml) to locate patch/update entries. If a patch is defined for the specified product (or globally), the patch is installed from the ISO: when the ISO path already exists it uses Install-ChocolateyIsoInstallPackage; when it does not, it assumes the value is a URL and uses Install-ChocolateyIsoPackage to download and install.

Aliases

None

Examples

EXAMPLE 1


Install-VeeamIsoPatchIfNeeded `
  -PackageName 'veeam-service-provider-console-iso' `
  -IsoFile 'C:\Temp\VSPC.iso' `
  -SettingsFile 'C:\Temp\VSPCSettings.xml' `
  -ProductName 'Server' `
  -SilentArgs '/qn /norestart' `
  -ValidExitCodes @(0, 3010) `
  -Destination "$env:TEMP\VSPC"

Inputs

None

Outputs

None

Parameters

-PackageName <String>

Chocolatey package name used for logging and command context.

Property Value
Aliases  
Required? true
Position? 1
Default Value  
Accept Pipeline Input? false

-IsoFile <String>

Full path to the ISO that contains the patch payload.

Property Value
Aliases  
Required? true
Position? 2
Default Value  
Accept Pipeline Input? false

-SettingsFile <String>

Path to the extracted settings XML file to inspect for patch/update information.

Property Value
Aliases  
Required? true
Position? 3
Default Value  
Accept Pipeline Input? false

-SilentArgs [<String[]>]

Arguments passed to the installer. Applied to MSI/MSP/EXE installers as appropriate.

Property Value
Aliases  
Required? false
Position? 4
Default Value  
Accept Pipeline Input? false

-ValidExitCodes [<Object>]

Array of exit codes indicating success. Defaults to @(0).

Property Value
Aliases  
Required? false
Position? 5
Default Value @(0)
Accept Pipeline Input? false

-Destination <String>

Directory used as ISO cache when downloading (Install-ChocolateyIsoPackage).

Property Value
Aliases  
Required? true
Position? 6
Default Value  
Accept Pipeline Input? false

-ProductName <String>

Product node name in the settings XML to evaluate for a patch.

Property Value
Aliases  
Required? true
Position? 7
Default Value  
Accept Pipeline Input? false

-IgnoredArguments [<Object[]>]

Property | Value ———————- | —– Aliases | Required? | false Position? | 8 Default Value | Accept Pipeline Input? | false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .

[[Function Reference HelpersReference]]

NOTE: This documentation has been automatically generated from Import-Module "$env:ChocolateyInstalls\veeams\veeam.psm1" -Force; Get-Help Install-VeeamIsoPatchIfNeeded -Full.

View the source for Install-VeeamIsoPatchIfNeeded