Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 170134

Re: Run Batch in Guest Remotely via PowerCLI

$
0
0

Hi Luc,

 

Any chance you might be able to see where I'm going wrong here, I need to overwrite a txt file within a guest with this value "e:\testfile.dat 8 0x0 11000"

 

$guestvms = "flash3"

$myscript = "e:\testfile.dat 8 0x0 11000 | Out-File C:\SQLIO\param.txt"

Invoke-VMScript -VM $guestvms -ScriptText $myscript -GuestUser administrator -GuestPassword Password


Viewing all articles
Browse latest Browse all 170134

Trending Articles



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