Page 1 of 1

[SOLVED] Power Shell

Published: February 18, 2026 - 5:54 PM
by jbertolo
Hello,
I'm unable to use the winget command through PowerShell. An error message tells me it doesn't recognize the term, even though it's installed correctly (the command line works locally under PowerShell).

The command used is:
`winget install 9NBLGGH5R558 --source msstore`.

The error message is:
<S S="Error">winget : Le terme «winget» n\'est pas reconnu comme nom d\'applet de commande, fonction, fichier de script ou programme _x000D__x000A_</S>
<S S="Error">exécutable. Vérifiez l\'orthographe du nom, ou si un chemin d\'accès existe, vérifiez que le chemin d\'accès est correct _x000D__x000A_</S>
<S S="Error">et réessayez._x000D__x000A_</S><S S="Error">Au caractère Ligne:2 : 1_x000D__x000A_</S>
<S S="Error">+ winget install 9NBLGGH5R558 --source msstore | ConvertTo-Json_x000D__x000A_</S>
<S S="Error">+ ~~~~~~_x000D__x000A_</S>
<S S="Error"> + CategoryInfo : ObjectNotFound: (winget:String) [], CommandNotFoundException_x000D__x000A_</S>
<S S="Error"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S>

Re: Powershell

Published: February 18, 2026 - 6:02 PM
by sfonteneau
You run the command as a system account with wapt in Winget. There's a ticket for that:
https://github.com/microsoft/winget-cli/discussions/962

. Otherwise, for the package in your example: https://wapt.tranquil.it/store/fr/tis-microsoft-todos

and https://www.youtube.com/watch?v=YFhfG2mxGC8.

When you use Winget, the download goes directly over the internet for all machines, so there's no peering, application control, etc.

Re: Powershell

Published: March 6, 2026 - 3:37 PM
by dcardon
Hi Jeremy,

were you able to fix your package? (So we can close the thread...) :-)

Regards,

Denis

Re: Powershell

Published: March 16, 2026 - 10:04
by dcardon
Since I don't get a response, I'm closing the thread. But it would have been nice to get some feedback...
Denis