Update T1082.yaml (#2895)

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
sree siva likhitha kothalanka
2024-08-03 07:06:16 +05:30
committed by GitHub
parent a8cdef7e1b
commit de8cc181a6
+11 -1
View File
@@ -527,4 +527,14 @@ atomic_tests:
command: sysctl -n hw.model
name: sh
elevation_required: false
- name: 'operating system discovery '
description: |-
operating system discovery using get-ciminstance
https://petri.com/getting-operating-system-information-powershell/
supported_platforms:
- windows
executor:
command: Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, ServicePackMajorVersion, OSArchitecture, CSName, WindowsDirectory | Out-null
name: powershell
elevation_required: false