1. There is a dedicated area of VMTN for PowerCLI.
2. I’ve reported your thread which notifies moderators it should be moved there.
3. Once it’s moved, search the area for other scripts and samples, rather than expecting a volunteer to write one for you.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog