Mondoo Docs

Results of running a PowerShell script on the system

powershell MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

Results of running a PowerShell script on the system

Use MQL in cnspec shell or policy:

powershell
Min version: 5.15.0

Relationships

Mini Map
Operating System
1 resources · 0 relationshipsClick to select, expand fields to see properties.

Fields (4)

FieldTypeDescription
exitcode
intExit code the script returned
scriptrequired
stringRaw contents of the script
stderr
stringStandard error output from running the script
stdout
stringStandard output from running the script