chocolateyUninstall.ps1

1
2
3
4
5
6
7
8
9
10
$packageName = 'posh-azurecli'
$sourcePath = Split-Path -Parent $MyInvocation.MyCommand.Definition

$targetPath = Join-Path ([System.Environment]::GetFolderPath("MyDocuments")) "WindowsPowerShell\Modules\posh-azurecli"

if(Test-Path $targetPath){
    Remove-Item -Path $targetPath -Recurse -Force
}

Uninstall-AzureCliCompletion