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

Re: Invoke-vmScript giving Error

$
0
0

Looks like the port is not open..

 

From eq3 i am able to run commands on eq2 but not on eq5.

Seems like the port is the issue.

Am i write?

What can i do to always have that port open?

 

 

At E:\Scripts\Test-InvokeVMScript.ps1:115 char:73
+     $propertiesVix =[System.Diagnostics.FileVersionInfo]::GetVersionInfo <<<< ($env:programfiles + '\VMware\VMware VIX\VixCOM.dll')
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
OK                          : False
VM                          : EQ2
PoweredOn                   : True
X86Engine                   : False
ToolsInstalled              : True
Port902Open                 : False
FolderReadAccess            : False
PrivilegeConsoleInteraction : True
SupportedOS                 : True
PS E:\Scripts> Test-InvokeVMScript -VM EQ3 -Detail
Exception calling "GetVersionInfo" with "1" argument(s): "C:\Program Files\VMware\VMware VIX\VixCOM.dll"
At E:\Scripts\Test-InvokeVMScript.ps1:115 char:73
+     $propertiesVix =[System.Diagnostics.FileVersionInfo]::GetVersionInfo <<<< ($env:programfiles + '\VMware\VMware VIX\VixCOM.dll')
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
OK                          : False
VM                          : EQ3
PoweredOn                   : True
X86Engine                   : False
ToolsInstalled              : True
Port902Open                 : True
FolderReadAccess            : False
PrivilegeConsoleInteraction : True
SupportedOS                 : True
PS E:\Scripts> Test-InvokeVMScript -VM EQ5 -Detail
Exception calling "GetVersionInfo" with "1" argument(s): "C:\Program Files\VMware\VMware VIX\VixCOM.dll"
At E:\Scripts\Test-InvokeVMScript.ps1:115 char:73
+     $propertiesVix =[System.Diagnostics.FileVersionInfo]::GetVersionInfo <<<< ($env:programfiles + '\VMware\VMware VIX\VixCOM.dll')
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
OK                          : False
VM                          : EQ5
PoweredOn                   : True
X86Engine                   : False
ToolsInstalled              : True
Port902Open                 : False
FolderReadAccess            : False
PrivilegeConsoleInteraction : True
SupportedOS                 : True

Viewing all articles
Browse latest Browse all 246952

Trending Articles



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