Skip to content

Information traces for generated cmdlets do not provide any useful information about the command being run. #12896

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

Open
Francisco-Gamino opened this issue Sep 9, 2020 · 1 comment
Assignees
Labels
Azure PS Team feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@Francisco-Gamino
Copy link
Contributor

Description

Information traces for generated cmdlets do not provide any useful information about the command being run.

When a user runs a command with -InformationAction Continue, additional messages are printed but no useful information is diplayed. E.g.,

PS E:\> Get-AzFunctionApp -Name MyFunctionName -ResourceGroupName MyResourceGroupName -InformationAction Continue
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData
Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData

Name           Status  OSType  Runtime    Location   AppServicePlan       ResourceGroupName    SubscriptionId
----           ------  ------  -------    --------   --------------       -----------------    --------------
MyFunctionName Running Windows PowerShell Central US MyPlan-premiumplan   MyResourceGroupName  75ff11d7-900a-4cc3-9b62-ab65127957bd

Steps to reproduce

Environment data


Module versions

Debug output


Error output


@dingmeng-xue
Copy link
Member

dingmeng-xue commented Sep 10, 2020

@Francisco-Gamino , normally we use -Debug or $DebugPreference="Continue". Please check if output is your expected.

The output on information level seems not make sense. We will remove redundant information.

Below issue is created.
Azure/autorest.powershell#689

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure PS Team feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

3 participants