Tests/AzureExt.AutoCompletion.ManualTest.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<#
    .Synopsis
    Helper script for testing Microsoft Azure argument-completer functions.
#>

#$VerbosePreference = 'continue';
$AzureUsername = 'trevor@trevorsullivan.net';
$AzureCredential = Get-Credential -UserName $AzureUsername -Message 'Please enter your Microsoft Azure password.';
$AzureProfile = Login-AzureRMAccount -Credential $AzureCredential;

Import-Module -Name AzureExt -Force;

### Now test the argument completer(s). If changes are made simply re-run the script.