Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Invoke-VMscript crashes PowerShell

$
0
0

Hello everyone,

 

I am using Invoke-VMScript to run ls command on VM. This is invoked from PowerCLI:

 

scrpt.JPG

 

The result is that PowerShell crashes:

error.JPG

 

VIX 1.6.2.2190 (from VixCOM.dll file)

PowerCLI: 4.0 U1 build 208462

vSphere Client: 4.0.0 build 208111

ESX: 4.0.0 build 208167

PowerShell: 1.0 (thie same error is with PowerShell 2.0)

GuestOS (VM): Red Hat Enterprise Linux Server release 5.4 (Tikanga)

The script is run on Windows XP SP2 32 bit

 

Additional info:

I have network connectivity to the ESX system hosting the VM on port 902.

VM is up and running.

I cannot get the exception trace as the script crashes.

There is nothing in the Windows event log where the script is invoked.

The account (root) has obviously all the privileges needed to run the "ls" command on the guest linux VM.

 

I have read the similar issues in this forum and have not found the solution:

http://communities.vmware.com/thread/320357

http://communities.vmware.com/thread/320906

http://communities.vmware.com/message/1162125#1162125

 

Is there a way to debug this issue?


Viewing all articles
Browse latest Browse all 180259

Trending Articles



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