plaman
Enthusiast
Enthusiast

Using the using: qualifier worked thank you, my challenge now I  need to return more that one item in an object 

 

$UpdateHistory=@"
yum updateinfo list
"@

Invoke-VMScript -VM $Using:VMName -GuestCredential $Using:LinCredentials -ScriptText $UpdateHistory -ScriptType Bash).ScriptOutput

Reply
0 Kudos