The script uses the ActiveXPosh from SAPIEN which is a free COM component. You can download it from here. You’ll need to install it on the same machine on which you’re running the code, which in this case is the WhatsUp server.

To use the VMware powershell commands we also need to add the snap-in (Add-PSSnapin VMware.VimAutomation.Core), so you’ll also need to have powershell and VMware powershell installed on the WhatsUp server.