我知道有这个sc.exe,您可以在其中添加和设置 Windows 服务依赖项,但我想知道是否可以使用 Powershell 完成同样的事情。
powershell service
powershell ×1
service ×1