WMI Query Script as a Job

后端 未结 3 924
刺人心
刺人心 2021-01-16 06:16

I have two scripts. One calls the other with a list of servers as parameters. The second query is designed to execute a WMI query. When I run it manually, it does this perfe

3条回答
  •  抹茶落季
    2021-01-16 06:28

    Do yourself a favor and check WinRM. If remoting is turned off, you'll experience this exact set of symptoms.

    Can *.ps1 scripts run as background jobs themselves execute *.ps1 scripts?

    How do I debug a PowerShell background job?

提交回复
热议问题