We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a9c55 commit 75b0345Copy full SHA for 75b0345
setup-powershellget/Setup/ShortcutStartup.ps1
@@ -51,7 +51,10 @@ To use Azure Service Management cmdlets please execute the following cmdlet:
51
$VerbosePreference = "Continue"
52
}
53
54
-catch { Write-Output $error }
55
-if ($error) {
56
- Read-Host -Prompt "An error occured during installation. Press any key..."
+catch
+{
+Write-Output "An error occured during installation."
57
+Write-Output $error
58
+Write-Output "Press any key..."
59
+$host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
60
0 commit comments