To upgrade the Management 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\"] "
Where installKitName is the name of the Hyper-V Agent Management service installation kit: Hyper-V_Agent_Management-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 install the Management service in silent mode, you could run the following command:
Hyper-V_Agent_Management-x-xx-xxxx.exe /S /L1033 /V"/qn /L*v \"C:\logs\1.log\" "