Skip to main content

Windows Sessions DV, Globals

Summary​

Executes the query session command and stores the result in a custom table.

Sample Run​

Sample Run

Dependencies​

CWM - Automate - Script - OverFlowedVariable - SQL Insert - Execute

Variables​

NameDescription
psoutOutput of the PowerShell script executing and parsing the Query Session command

Global Parameters​

NameDefaultRequiredDescription
retentiondays1TrueNumber of days to keep the historical data. Any data older than the specified days will be removed from the database on the next execution of the script.

Output​

  • Dataview
  • Custom Table

Changelog​

2025-04-10​

  • Initial version of the document