File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<# PSScriptInfo
2
2
3
3
.Version
4
- 1.2
4
+ 1.3
5
5
.Guid
6
6
477aa3f4-0434-4925-9c92-7323066cceb7
7
7
.Author
55
55
SMB1ProtocolEnabled : True
56
56
. Notes
57
57
Not applicable to windows 10.
58
+ . Link
59
+ https://www.redsocks.eu/news/ransomware-wannacry/
58
60
. Link
59
61
https://dotps1.github.io
60
62
. Link
@@ -158,7 +160,7 @@ process {
158
160
continue
159
161
}
160
162
161
- if ($osCaption -match " Windows 10|2016 " ) {
163
+ if ($osCaption -match " Windows 10" ) {
162
164
Write-Warning - Message " $osCaption is not vulnerable to WannaCry."
163
165
continue
164
166
}
@@ -212,7 +214,7 @@ process {
212
214
$osCaption = Get-CimInstance - CimSession $cimSessionValue - ClassName Win32_OperatingSystem - Property Caption |
213
215
Select-Object - ExpandProperty Caption
214
216
215
- if ($osCaption -match " Windows 10|2016 " ) {
217
+ if ($osCaption -match " Windows 10" ) {
216
218
Write-Error - Message " $osCaption is not vulnerable to WannaCry."
217
219
continue
218
220
}
You can’t perform that action at this time.
0 commit comments