Skip to content

Missing semicolon (;) in PowerShell help for az aks install-cli #16170

@glenncarr

Description

@glenncarr

Describe the bug

The help displayed after executing az aks install-cli displays:

Run "set PATH=%PATH%;C:\Users<user>.azure-kubectl" or "$env:path += 'C:\Users<user>.azure-kubectl'" for PowerShell. This is good for the current command session.

A semicolon is required before the appended path. It should be:
$env:path += ';C:\Users<user>.azure-kubectl'"

To Reproduce

Install kubectl with az aks install-cli

Expected behavior

Displays the correct PowerShell command

Environment summary

Installing locally with PowerShell Core 7.1.0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions