Automate export of Session details?

Discussion in 'Parallels Remote Application Server' started by Outek, Mar 13, 2026.

  1. Outek

    Outek Bit poster

    Messages:
    3
    Hi there
    Is it somehow possible to automate the Session details csv? Something like the cmdlet Invoke-RASExportSettings would be nice, but i didn't found anything.
    Thanks
     
  2. Thierry FRACHE

    Thierry FRACHE Senior Systems Engineer Bit poster

    Messages:
    5
    Hell Outek,
    Yes, it's definitely possible, but there is no direct "one-shot" cmdlet like Invoke-RASExportSettings for session details.
    We handle it by querying sessions with the RAS PowerShell module (Get-RASRDSession), then exporting or processing the data as needed.
    In our case, we don't generate a CSV.
    We push the data to an InfluxDB backend to get near real-time visibility on:
    total sessions / sessions per pool / usage over time
    It's easy to automate with a scheduled task and gives much more flexibility than a static CSV export. Please find a sample script (fake info inside :D).
     

    Attached Files:

    Outek likes this.
  3. GaelCh

    GaelCh Bit poster

    Messages:
    1
    Hi,
    While Invoke-RASExportSettings is dedicated to backing up the Farm configuration, it doesn't include live operational data like user sessions.
    To automate the session details export, you should use the Get-RASRDSession cmdlet. This command returns a full object containing all the details you usually see in the console (IP, Login time, Latency, etc.).
     
    Outek likes this.
  4. Outek

    Outek Bit poster

    Messages:
    3
    Both of you, thank you for your suggestions. This was exactly what ive looked for.
     

Share This Page