Install-AzAksCliTool
Download and install kubectl and kubelogin.
Install-AzAksCliTool
[-Destination <String>]
[-Version <String>]
[-DownloadFromMirror]
[-KubeloginInstallDestination <String>]
[-KubeloginInstallVersion <String>]
[-KubeloginDownloadFromMirror]
[-PassThru]
[-AsJob]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Download and install kubectl and kubelogin.
Install-AzAksCliTool
Install-AzAksCliTool -KubectlInstallVersion "v1.25.0" -KubectlInstallDestination "~/bin/" -KubeloginInstallVersion "v0.0.20" -KubeloginInstallDestination "~/bin"
Run cmdlet in the background
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Path at which to install kubectl. Default to install into ~/.azure-kubectl/
Type: | String |
Aliases: | KubectlInstallDestination |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/
Type: | SwitchParameter |
Aliases: | KubectlDownloadFromMirror |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Overwrite existing kubectl and kubelogin without prompt
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Path at which to install kubectl. Default to install into ~/.azure-kubelogin/
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Version of kubectl to install, e.g. 'v0.0.20'. Default value: Latest
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Wait for .NET debugger to attach
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Version of kubectl to install, e.g. 'v1.17.2'. Default value: Latest.
Type: | String |
Aliases: | KubectlInstallVersion |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Azure PowerShell feedback
Azure PowerShell is an open source project. Select a link to provide feedback: