Ansible, PowerShell and Output from Cmdlets with ProgressPreference

This post was originally published on this site

I’ve posted previously regarding returning output from PowerShell scripts that have been invoked by Ansible playbooks: I encountered an issue recently where noise from a particular PowerCLI cmdlet, Invoke-VMScript, was polluting the output returned from the PowerShell script to Ansible. Specifically it looked like the below, a mess of Invoke-VMScript across the screen: This is … Continue reading Ansible, PowerShell and Output from Cmdlets with ProgressPreference

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.