Quantcast
Channel: VMware Communities : All Content - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 10285

PS arg limit ?

$
0
0

Hi,

I hope you can help with vRO error which I have when run PS script on remote Windows server.

I have dummy PS script:

param(

[string]$arg

)

return$arg

 

which I run from vRO.

It works perfectly fine, till moment when $arg size is larger than about 6069 chars.

When I reach that size I see in vRO logs errors, and vRO task freeze:

[BrokerOutputHandler] a Base-64 char array or string.undefined

[BrokerOutputHandler] At line:1 char:35

[BrokerOutputHandler] + ... if($cmd){ $bytes = [System.Convert]::FromBase64String($cmd); $decod ...

[BrokerOutputHandler] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[BrokerOutputHandler] + CategoryInfo : NotSpecified: (:) [], MethodInvocationException

[BrokerOutputHandler] + FullyQualifiedErrorId : FormatException

 

I assume that I reached some limit, am I correct ? what is it ?

Is there way to increase it ?

 

I’m on vRO 7.2.1.7831552.

 

BTW – I found that problem when I wanted to pass my VMs hostnames to PS and do some OS operation on them…

 

Thanks in advance !

Maciej


Viewing all articles
Browse latest Browse all 10285

Trending Articles



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