Skip to content

Commit

Permalink
add query to collect the Windows Exchange Server version (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Münch <[email protected]>
  • Loading branch information
atomic111 authored Apr 25, 2024
1 parent 439674e commit 9242331
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/mondoo-windows-inventory.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,9 @@ packs:
title: Logged-in users
mql: |
parse.json(content: powershell("Get-Process -IncludeUserName explorer | Select-Object Username | ConvertTo-Json").stdout).params
- uid: mondoo-windows-exchange-server-version
title: Exchange Server Version
filters: |
package('Microsoft Exchange Server').installed
mql: |
powershell('(Get-Command ExSetup.exe | ForEach-Object { $_.FileVersionInfo } | Select-Object -First 1).FileVersion').stdout

0 comments on commit 9242331

Please sign in to comment.