This question would be better suited for the PowerCLI Community page -> https://community.broadcom.com/vmware-cloud-foundation/communities/community-home/digestviewer?communitykey=0c93b92e-0998-44ec-8f69-521308f609ee&Page=&ContributionType=1&Nested=2&ResultsPerPage=100&SortBy=1
You may be able to post it there as well, and I'm sure the community would be able to assist. In the meantime, I'll see if this can be migrated over to that page.