powershell - Look like Script Text is Limited to 2869 characters in Invoke-VMScript in PowerCLI. How to run large Script? -


$scripttext = {very large script more 2869 characters} invoke-vmscript -scripttype powershell -vm $vmname -guestuser $guser -guestpassword $gpassword -scripttext $scripttext 

when try run script having characters more 2869, script doesn't execute. executes fine when less 2870 characters.

is there way execute large script?


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -