We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df8f349 commit 8b89e6eCopy full SHA for 8b89e6e
src/powershell/public/Disconnect-ZtAssessment.ps1
@@ -109,7 +109,7 @@ function Disconnect-ZtAssessment
109
Write-PSFMessage 'Disconnecting from Azure Information Protection'
110
try
111
{
112
- Disconnect-AipService -ErrorAction SilentlyContinue | Out-Null
+ Disconnect-AipService -ErrorAction Stop | Out-Null
113
Write-Host "Successfully disconnected from Azure Information Protection" -ForegroundColor Green
114
}
115
catch [Management.Automation.CommandNotFoundException]
0 commit comments