- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the problem
I am running a system context Powershell session. Get-WingetPath delivers the wrong winget.exe location because it expects nt-authority. Culture is german, so the system answers with nt-autorität as result of whoami.
Log is in additional informations.
Expectation
No response
Additional Information
PS C:\Windows\system32> Get-WGPath
AUSFÜHRLICH: [14:10:07.3657127] Starting Get-WGPath
AUSFÜHRLICH: [14:10:07.3827148] Running as nt-autorität\system
AUSFÜHRLICH: [14:10:07.3837279] Using user default location
C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps\Winget.exe
AUSFÜHRLICH: [14:10:07.3867134] Ending Get-WGPath
PowerShell version
5.1
Platform
Windows 10 Pro or Enterprise
Additional Checks
- You are using the latest version of this module.
- You have read this repository's README file.
- You have read full help and examples for the command you are having problems with.
- You are running PowerShell in an elevated session.
- You are running in a traditional PowerShell console or Windows Terminal
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working