vmware / powerclicore

PowerCLI Core Dockerfile
Apache License 2.0
97 stars 48 forks source link

Unable to skip the logo/banner of powershell #17

Closed chrpinedo closed 6 years ago

chrpinedo commented 6 years ago

I'm trying to run one script with the following command:

docker run --rm -it -v /tmp/powercli:/mnt vmware/powerclicore powershell -File /mnt/scripts.ps1

It works but the output also shows the welcome banner of powercliclore ("Welcome to VMware vSphere PowerCLI!! Log in to a vCenter...."). I tried to remove it with the option "-NoLogo" but it doesn't work.

jakerobinson commented 6 years ago

Fixed by #27