Ruby script return array to powershell

Hi,
I have a Ruby script and I am calling this ruby script from a
Powershell script. I want Ruby to return the result as an array back to
Powershell…So i will be able to use the array in Powershell. I am a
very beginner in Ruby, so need help on constructing the array in Ruby.

What is your Ruby script trying to accomplish?
What will be in the Array?
What have you tried so far?