Seeking Guidance on Monitoring Application Health in Intune Managed Devices using PowerShell

Swahela Mulla 90 Reputation points
2024-01-23T13:01:27.3366667+00:00

Hi Everyone,

I'm exploring ways to monitor the health of applications on Intune managed devices using PowerShell. Much like the monitoring applications feature in Nexthink, I'm looking for insights into app performance. Could someone guide me on how to retrieve app status information using PowerShell? Additionally, if an app is not functioning well, what specific aspects should I consider in my analysis? (Aspects: App loading time, CPU usage, memory usage, and any other relevant metrics?)
I've searched online without success, so if anyone has experience with this or can point me to relevant documentation, it would be greatly appreciated!

Thanks in advance,

Swahela Mulla

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,807 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
915 questions
Microsoft Intune Compliance
Microsoft Intune Compliance
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Compliance: Adhering to rules, standards, policies, and laws.
147 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,730 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,316 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sachith Lakmal 126 Reputation points
    2024-01-23T19:34:14.6666667+00:00

    Retrieve information about running processes, including CPU and memory usage

    Get-Process | Select-Object ProcessName, CPU, WorkingSet
    

    Query Windows Management Instrumentation (WMI) for additional system information.

    Get-WmiObject Win32_Process | Select-Object ProcessId, Name, Caption, ExecutablePath
    

    Check the event log for application-related events.

    Get-EventLog -LogName Application -EntryType Error
    

    Use performance counters to get detailed information about system performance, including CPU, memory, disk, and network usage.

    Get-Counter -Counter "\Process(*)\% Processor Time" -SampleInterval 2 -MaxSamples 10