powershell - 使用 powershell 获取 UAC 设置

标签 powershell

有没有办法使用powershell在Windows 7计算机中获取UAC状态(包括级别)?

最佳答案

(Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System).EnableLUA

会告诉你 UAC 是否启用。

关于powershell - 使用 powershell 获取 UAC 设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3405122/

相关文章:

date - 比较没有时间的日期

c# - 在 Powershell 中使用 C++CLI .dll 作为程序集

powershell - 如何在 PowerShell 中使用 InsertAfter

c# - 为什么在 c# 中通过启动进程运行 powershell 时不导入 powershell 模块?

azure - Azure 自动化是否支持写入信息?

powershell - Resolve-DnsName - 格式化和错误捕获

powershell - 使用 Powershell 编辑/修改 GPO

powershell - 使用 PowerShell 查看全局程序集缓存 (GAC) 的内容

使用 Powershell 读取 Azure 认知服务请求

azure - 如何使用PowerShell创建客户端 key ?