Azure / autorest.powershell

AutoRest PowerShell Generator
MIT License
113 stars 86 forks source link

psm1.ts: remove use of write-information as it pollutes information stream when using Az-modules #1339

Open mortenlerudjordet opened 6 months ago

mortenlerudjordet commented 6 months ago

From issue created in Azure-Powershell: https://github.com/Azure/azure-powershell/issues/24855

To sum up, using Write-Information to log loading profiles/modules pollutes downstream use of the information stream for global logging.

In this PR I have changed Write-Information to use Write-Verbose as this is a less used stream and silenced by default.