Skip to content

Commit

Permalink
Merge pull request #8 from nixusminimax/master
Browse files Browse the repository at this point in the history
Update audit_windows.vbs with Windows 2019.
  • Loading branch information
mark-unwin authored Aug 16, 2021
2 parents bba2f15 + 1005816 commit 2e4dd8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion other/audit_windows.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -7342,6 +7342,8 @@ function os_family(os)
if InStr(os, "2012") then os_family="Windows 2012"
if InStr(os, "Windows 10") then os_family="Windows 10"
if InStr(os, "2016") then os_family="Windows 2016"
if InStr(os, "2019") then os_family="Windows 2019"

end function


Expand All @@ -7352,6 +7354,7 @@ function WMIDateStringToDate(dtmDate)
end function



function WMINetConnectorStatus(status)
if status = 0 then WMINetConnectorStatus = "Disconnected" end if
if status = 1 then WMINetConnectorStatus = "Connecting" end if
Expand Down Expand Up @@ -8366,4 +8369,4 @@ End Sub
' 9900 - Win Phone 8
' 10211 - Win Phone 8
' 10240 - Windows 10
' 14393 - Server 2016, Windows 10 Anniversary Update
' 14393 - Server 2016, Windows 10 Anniversary Update

0 comments on commit 2e4dd8c

Please sign in to comment.