📜  如何恢复 Windows 安全性 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:16.185000             🧑  作者: Mango

代码示例1
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Windows.SecHealthUI*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"