Skip to content

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

Open
@jrouzies-fr

Description

@jrouzies-fr

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

Activity

added
feature-requestThis issue requires a new behavior in the product in order be resolved.
needs-triageThis is a new issue that needs to be triaged to the appropriate team.
on Jul 6, 2024
added
needs-triageThis is a new issue that needs to be triaged to the appropriate team.
and removed
needs-triageThis is a new issue that needs to be triaged to the appropriate team.
on Jul 6, 2024
removed
needs-triageThis is a new issue that needs to be triaged to the appropriate team.
on Jul 17, 2024
isra-fel

isra-fel commented on Jul 17, 2024

@isra-fel
Member

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

microsoft-github-policy-service

microsoft-github-policy-service commented on Jul 17, 2024

@microsoft-github-policy-service
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

Metadata

Metadata

Labels

AutomationService AttentionThis issue is responsible by Azure service team.customer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @isra-fel@mahakjain314@jrouzies-fr

      Issue actions

        [Feature]: Support -Verbose:$false for Import-module · Issue #25463 · Azure/azure-powershell