Skip to content

Commit 71f6ccf

Browse files
committed
Replaced Write-Warning with Write-Error so it can be caught in a try catch block.
1 parent 0beeab9 commit 71f6ccf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Functions/Test-WannaCryVulnerability.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
https://github.com/dotps1/PSFunctions
1313
.ReleaseNotes
1414
Replaced Write-Warning with Write-Error so it can be caught in a try catch block.
15+
1516
#>
1617

1718
<#

0 commit comments

Comments
 (0)