Passing variable to ScriptBlock in PowerShell

后端 未结 0 1258
灰色年华
灰色年华 2021-01-07 01:00

I use the following command to change the IP address of a remote windows 7 machine:

Invoke-Command -ComputerName $RemoteMachine -Credential $Cred -ScriptBlock         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题