Azure / Azure/azure-powershell
[Feature]: Support -Verbose:$false for Import-module
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description of the new feature
Hello,
Because Write-host is not output on Azure Runbooks, and because Write-Output is unusable inside functions, and because Write-Information is not outputting anything, we are left with Write-Verbose.
The issue is that importing modules spams the verbose logs to the point they are unusable in the UI, need to scroll for 2 minutes to reach useful logs:

Suppressing the Verbose logs works perfectly fine on local PowerShell, but Azure seems to completely ignore it

Please add support to -Verbose:$false or Write-Information.
### Proposed implementation details (optional)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.