如何在 PowerShell 中启动依赖服务?


PowerShell 中启动依赖服务的方式与停止依赖服务时使用 < strong>–Force 参数不同,因为没有可用的 < strong>–Force 参数。

你需要首先获取依赖服务,然后启动它们。

Get-Service -Name Winmgmt -DependentServices | Start-Service -Verbose

更新于:2020-01-22

675 次浏览

开始你的 职业

通过完成课程获得认证

开始吧
广告