Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Run a script in an isolted Hyper-v VM

$
0
0

Hi,

I am trying to build a script to run in an isolated VM machine with no network access (Connected to close switch inside the Hyper-v).

In VMware there is an easy whey to do it with "Invoke-VMScript" command in power CLI. Didn't fond any whey to do it in Powershell for Hyper-v.

See example for VMware Power CLI:

Invoke-VMScript "ping Server1" -vm server -HostUser User -HostPassword Pass -GuestUser User2 -Pass2 -ScriptType "bat"

Thanks

Erez


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>