Product: PowerShell Studio 2024 (64 Bit)
Build: v5.8.248
OS: Windows 11.0.26100.1457 (Release Preview 24H2 Enterprise)
PS Version(s): 5.1.26100.1, 7.4.5
- Get-AppxPackage -AllUsers | Sort-Object -Unique | Select-Object Name
>> Platform: V5 64Bit (STA) (Elevated)
ERROR: Get-AppxPackage : The type initializer for '<Module>' threw an exception.
ERROR: At Line: 15 char: 1
ERROR: + Get-AppxPackage -AllUsers | Sort-Object -Unique | Select-Object Name
ERROR: + ~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], TypeInitializationException
ERROR: + FullyQualifiedErrorId : System.TypeInitializationException
ERROR:
*** PowerShell Script finished. ***
>> Execution time: 00:00:02
>> Script Ended
>> Copied to clipboard.