Import-Module: Operation is not supported on this platform. (0x80131539)
我感觉我好像删除了核心模块,现在连Import-Module都不行了。
Get-Module -ListAvailable -All Appx
输出
Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
Manifest 2.0.1.0 Appx Core,Desk {Add-AppxPackage, Get-AppxPackage, Get-…
Script 0.0 Appx Desk {Get-AppxLog, Get-AppxLastError}