To Run Remote PC powershell

Post Reply
Nawing1
Posts: 76
Joined: 21 Feb 2016 14:55

To Run Remote PC powershell

Post by Nawing1 » 06 Feb 2017 14:54

HI,

PS C:\Windows\system32> Invoke-Command –ComputerName remote-computer -Credential $Cred –ScriptBlock{Get-VM -Name "vm-name" | select *}



TimothyBob
Posts: 4
Joined: 27 Jan 2019 23:06
Location: Denmark
Contact:

To Run Remote PC powershell

Post by TimothyBob » 28 Feb 2019 07:12

In my opinion you commit an error. I can prove it. Write to me in PM, we will discuss.

Post Reply