FROM mcr.microsoft.com/powershell:ubi RUN /opt/microsoft/powershell/7/pwsh -Command Set-PSRepository -Name 'PSGallery' -Verbose -InstallationPolicy Trusted \ && /opt/microsoft/powershell/7/pwsh -Command Install-Module VMware.PowerCLI -Verbose -Scope AllUsers -AllowClobber -AcceptLicense -Confirm:\$false