1 Get-Service 获取的对象属于System.ServiceProcess.ServiceController 类,该类中找不到生产商的信息。所以我们尝试通过 WMI 对象中的win32_service类,该类中包含了pathName属性,也就是Service的物理路径。 PowerShell 获取服务的生产商2013年9月23日 在 Powershell 标签 服务 来自 Mooser Lee