Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 569 Bytes

02-OS_Auditing_and_Patching.md

File metadata and controls

10 lines (9 loc) · 569 Bytes

##Operating System: discover which one is installed and find missing Patches

wmic /node:@list.txt /output:OS_check.html os get BootDevice,SystemDrive,Caption,Version,CSName,CountryCode,InstallDate,LocalDateTime,OSArchitecture /format:htable

//where "list.txt" is the file where hosts (names or IP address) are written

//Improving: since the use of the network admin credentials is dangerous, you may consider to use "/user" and "/password", each time with the credentials of the local admin of the specified node

systeminfo /S PC /fo csv /nh >> OS.csv