PowerShell 从 PowerShell 直接调用 WinRT —— 使用 PowerManager 观察 Windows 电源状态
这是一个最小的冒烟测试,通过 Windows PowerShell 5.1 直接调用 WinRT 的 PowerManager 来读取剩余电量和电源供电状态。
PowerShell
安全
Microsoft 365・Azure
安全
Microsoft 365・Azure
Microsoft 365・Azure
Google 云端硬盘
Microsoft 365・Azure
编程・Web开发
编程・Web开发