Create a PS script that detects the presence of an app for Windows

SSlater.T1 5 Reputation points
2023-06-19T14:17:02.7733333+00:00

I want to create a script that I can push through Intune to tell me exactly how many PCs have this software installed.

I have already looked at the software inventory report but it does not seem like a trust worthy source.

Is there a clever way to leverage Intune to provide me with that information in a easy to read and digestible manner.

Please do let me know otherwise I will have to go back and say that this is not something Intune can support me with.

Regards,

Shaun

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Security | Intune | Other
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2023-06-20T02:19:11.07+00:00

    @SSlater.T1, Thanks for posting in Q&A. For your request, I think you can try to use custom compliance policy to detect if the application is installed.

    https://learn.microsoft.com/en-us/mem/intune/protect/compliance-custom-script

    Here is an example I found for your reference:

    https://www.petervanderwoude.nl/post/verifying-installed-applications-as-part-of-the-compliance-of-windows-devices/

    Note: Non-Microsoft link, just for your refence.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.