Hi Zane,
Without seeing your full code I cannot comment too much on your error.
It seems though that you are trying to use a variable "IBAValue_VM_Name" which you have not declared anywhere in your code and this is the source of your error.
Regards,
Toby