Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support -Verbose:$false for Import-module #25463

Open
jrouzies-fr opened this issue Jul 6, 2024 · 2 comments
Open

[Feature]: Support -Verbose:$false for Import-module #25463

jrouzies-fr opened this issue Jul 6, 2024 · 2 comments
Labels
Automation customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@jrouzies-fr
Copy link

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:

image

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

image

Please add support to -Verbose:$false or Write-Information.

Proposed implementation details (optional)

No response

@jrouzies-fr jrouzies-fr added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jul 6, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jul 6, 2024
@isra-fel isra-fel removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jul 17, 2024
@isra-fel
Copy link
Member

This question is in the scope of Azure Automation. Let me loop them in.
BTW have you tried Write-Debug?

@isra-fel isra-fel added Automation Service Attention This issue is responsible by Azure service team. labels Jul 17, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jaspkaur28, @sanjkum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants