Relative Content

Tag Archive for azurepowershellazure-virtual-machinewinget

Issues with winget on Azure VMs

I have several VMs in Azure where I want to update all applications using winget upgrade. The VMs are running Windows Server 2016/2022, and I have manually installed winget on them. When I log into the machines, I can execute winget commands without any issues.
However, I wanted to run winget upgrade using Invoke-AzVMRunCommand, but I keep getting the following message and nothing happens:

Issues with winget on Azure VMs

I have several VMs in Azure where I want to update all applications using winget upgrade. The VMs are running Windows Server 2016/2022, and I have manually installed winget on them. When I log into the machines, I can execute winget commands without any issues.
However, I wanted to run winget upgrade using Invoke-AzVMRunCommand, but I keep getting the following message and nothing happens:

Issues with winget on Azure VMs

I have several VMs in Azure where I want to update all applications using winget upgrade. The VMs are running Windows Server 2016/2022, and I have manually installed winget on them. When I log into the machines, I can execute winget commands without any issues.
However, I wanted to run winget upgrade using Invoke-AzVMRunCommand, but I keep getting the following message and nothing happens: