Skip to content

[HaTS] Update Send-Feedback to open survey page #11020

@dingmeng-xue

Description

@dingmeng-xue

Description of the new feature

Update the Send-Feedback cmdlet to open a browser on the survey page.
The new behaviour of the Send-Feedback

  • Case where PS can open the default browser:

Message: “Want to provide feedback about Azure PowerShell? Take a quick survey and let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=FEEDBACK. Do you want to open the link? (Y/N)”

If the answer is Y then we open a new window on that page.
If the answer if N then we display the following text: “Use a web browser to open the page https://aka.ms/azpssurvey?Q_CHL=FEEDBACK"

  • Case where PS cannot open the default browser:

Message: “Want to provide feedback about Azure PowerShell? Take a quick survey and let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=FEEDBACK. Do you want to open the link? (Y/N)”

If the answer is Y then we display the following text: “Warning: Could not open the default browser. Use a web browser to open the page https://aka.ms/azpssurvey?Q_CHL=FEEDBACK"
If the answer if N then we display the following text: “Use a web browser to open the page https://aka.ms/azpssurvey?Q_CHL=FEEDBACK"

Metadata

Metadata

Assignees

Labels

Azure PS Teamfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions