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