Hi All,
I am trying to automate a process in which i have used "Run VMM Powershell Script" activity in a runbook, the command which i am trying to execute using this activity is :-
$nodes=get-scvmhostcluster|select nodes
& in output variable 1 the variable is declared as $nodes but no matter i do what it returns a blank value.
the output which i am expecting is :-
Nodes
-----
{Server Name1, Server Name2, Server Name3}
but i thing as there are special characters present in the output, the variable is not able to hold the output value.
Other commands pipelined with get-scvmhostcluster which are without special characters are working fine.
I wanted to know is there any solution for this issue ?
I have gone through this article by Philip Gibson, which explains this activity in detail but i am unable to configure it using my command.
Please Help.
Thanks,
Pranay.