Where did you define the variable $HostInfo ?
Is the script above the complete script you are trying to run ?
Perhaps let us know from where you got it ? There seem to be parts missing.
Where did you define the variable $HostInfo ?
Is the script above the complete script you are trying to run ?
Perhaps let us know from where you got it ? There seem to be parts missing.