So is there a question? How can we help you?
If you post code, please use the ‘Insert Code’ button. Please and thank you!
Maybe the scripts center is a better place?
https://community.spiceworks.com/scripts