The PowerCLI shell must be run as a user with administrator privileges.
- Navigate to VMware vSphere PowerCLI from your Desktop or the Start menu.
- Right-click VMware vSphere PowerCLI and select Run as administrator.
- If a User Account Control prompt appears, click Accept.