Upgrade the Hyper-V Agent Host service in silent mode

To upgrade the Host service in silent mode, run the following command in the directory where the installation kit is located:

installKitName /S [/L<localeID>] /V"/qn /L*v [\"logFileName\"] HOST=managementServiceAddress [PORT=portNumber] [INSTALLDIR=\"installPath\"]"

Where installKitName is the name of the Hyper-V Agent Host service installation kit: Hyper-V_Agent_Host-x-xx-xxxx.exe. x-xx-xxxx represents the Agent version number.

The following table lists and describes command parameters.

Parameter

Description

\"logFileName"

Optional. Specifies the path and name of the installation log file. If the logFileName includes spaces, enclose the value in double quotation marks.

Example: \”C:\Logs\My Log.txt\”

If you do not specify a logFileName, the installation log is saved in the Windows installer default location (usually the user’s temp directory).

 

For example, to upgrade the Host service in silent mode, you could run the following command:

Hyper-V_Agent_Host-x-xx-xxxx.exe /S /L1036 /V"/qn /L*v \"C:\logs\1.log\" "