Brief description of your issue
I created a VM and I installed winget using latest release on its github page, then I connected to my VM from VSCode SSH remote connection. I am trying to run the winget from my local remote-VSCode (connected to VM via SSH).
Program 'winget.exe' failed to run: The file cannot be accessed by the system. At line:1 char:1 [Running Virtual Machine via SSH]

Steps to reproduce
run comment "winget"
Expected behavior
winget to work
This is output when I login to my VM and run winget

Actual behavior
Program 'winget.exe' failed to run: The file cannot be accessed by the system. At line:1 char:1 [Running Virtual Machine via SSH]
Environment
Winget Package
Windows Package Manager v1.0.11692
Copyright (c) Microsoft Corporation. All rights reserved.
Windows specifications:
Edition: Windows 10 Enterprise for Virtual Desktops
Version: 21H1
OS Build: 19043.1237
App Installer
Brief description of your issue
I created a VM and I installed winget using latest release on its github page, then I connected to my VM from VSCode SSH remote connection. I am trying to run the winget from my local remote-VSCode (connected to VM via SSH).

Program 'winget.exe' failed to run: The file cannot be accessed by the system. At line:1 char:1 [Running Virtual Machine via SSH]
Steps to reproduce
run comment "winget"
Expected behavior
winget to work

This is output when I login to my VM and run winget
Actual behavior
Program 'winget.exe' failed to run: The file cannot be accessed by the system. At line:1 char:1 [Running Virtual Machine via SSH]
Environment
Winget Package
Windows specifications:
App Installer