Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

vCO with Powershell and VMware.VimAutomation.Extensions causing workflow to hang

$
0
0

Environment:

 

vSphere Version: 5.5

vCO Version: 5.5.0 build 1281930

PowerShell Plugin: PowerShell 1.0.3.304


I have successfully instantiated multiple Powershell commands through vCO in the past, including PowerCLI commands. However, when I use the

"import-module VMware.VimAutomation.Extensions"

command, the workflow appears to hang. I need this module in order to acquire vSAN information.


I know that the module is supposed to be implicitly imported without needing the declaration when running in a PowerShell prompt, but I also have experienced instances where I know the line is required, especially when a Powershell script requiring the module is called from the command line.


It appears to be the case here since removing the line causes an "unknown cmdlet" error when it tries to parse the "Get-VsanDiskGroup" command.




Any help would be greatly appreciated! Thank you.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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