[RISOLTO] Power Shell
Pubblicato: 18 febbraio 2026 - 17:54
Ciao,
non riesco a usare il comando winget tramite PowerShell. Un messaggio di errore mi dice che non riconosce il termine, anche se è installato correttamente (la riga di comando funziona localmente in PowerShell).
Il comando utilizzato è:
`winget install 9NBLGGH5R558 --source msstore`.
Il messaggio di errore è:
<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>
non riesco a usare il comando winget tramite PowerShell. Un messaggio di errore mi dice che non riconosce il termine, anche se è installato correttamente (la riga di comando funziona localmente in PowerShell).
Il comando utilizzato è:
`winget install 9NBLGGH5R558 --source msstore`.
Il messaggio di errore è:
<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>