• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Export-CUQuery: Troubleshooting Outlook Crashes and Cleaning Results in Excel?

Posted on April 24, 2023

A user asked questions about using Export-CUQuery to filter Outlook crashes and problems – Wouter replied suggesting running the query on different monitors and checking data types. It was suggested that the events are kept in the monitor in-memory database for 60 mins by default.


Read the entire ‘Filtering Outlook Crashes and Problems with Export-CUQuery’ thread below:

Hello, I am starting to use Export-CUQuery and I have a couple of questions.

Wouters replied to some of them, but I don’t want to bother him alone… 😉

Here it is :

  1. I am looking to do some stats about the Outlook crashes and problems we are gettings. When I use the Events tab of the OPConsole, I see 60 events with Event ID 1000 and message containing Outlook. When I run this : Export-CUQuery -OutputFolder xxx -Scheme Main – Table Events -Where "EventID = ‘1000’" or this : Export-CUQuery -OutputFolder xxx -Scheme Main – Table Events -Search EventID -Where "Message = ‘*Outlook‘"* I get only a few records. What I am missing?
  2. What method do you then use in Excel to clean the results?

Thanks in avance, cheers, JCM


Events are held in RAM inside the console and on a per console basis. Knowing this it may be that only the monitor that is connected to that agent will have this data in memory so the query may only output the events for the machines its connected to. Theory… As a test you could run the command on another monitor and see if you get different results. If so you’d need to run the command on all monitors and aggregate the results.


Thanks @member for your answer.

I am running the cuquery on one of my console server which is also a monitor.

It has all the data souces and the other monitor has none.

There is no other console running currently.


Events are kept in the monitor in-memory database for a short time. Having said that, can you run the query without filters and see if the events are in the table at all?

I’m not sure if data types matter. IE ‘1000’ is different than 1000. Powershell generally doesn’t care about data types. But C#, which the monitors run, does.


the events are only held for 60 mins by default if i remember right could this be your issue


Thanks for your answers.

Continue reading and comment on the thread ‘Export-CUQuery: Troubleshooting Outlook Crashes and Cleaning Results in Excel?’.  Not a member? Join Here!


Categories: All Archives
Topics: ControlUp Agent, Databases, PowerShell, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..