enter-pssession invoke-command, when to use?

后端 未结 2 984
猫巷女王i
猫巷女王i 2021-01-01 00:43

I am writing a script to stop and start services in two remote servers. Here\'s my question,

in my script I did new-pssession and used invoke-command to stop and sta

2条回答
  •  醉酒成梦
    2021-01-01 01:05

    The Enter-PSSession cmdlet starts an interactive session with a single remote computer.

提交回复
热议问题