【发布时间】:2015-06-11 17:53:50
【问题描述】:
我正在尝试使用 Active Directory 连接到远程计算机并查看是否安装了单个程序。我尝试了一些在 Internet 上找到的教程,但没有成功:
- http://windowsitpro.com/powershell/what-applications-are-installed-computers-your-network
- http://community.spiceworks.com/scripts/show/2170-get-a-list-of-installed-software-from-a-remote-computer-fast-as-lightning
我无法让它们正常工作,它们也不是我想要的。
我想做的一个例子:假设我的网络上有 3 台计算机:
123-abc
123-bcd
123-cde
我想看看可执行文件C:\Program Files (x86)\Mozilla Firefox\Firefox.exe 是否存在。有人可以解释一下我如何在 PowerShell 中解决这个问题吗?
【问题讨论】:
标签: windows powershell active-directory