@Swahela Mulla, Thanks for posting in Q&A. Based on my researching, I didn't find the PowerShell script to find unauthorized software instances.
For your request, here are some of my thoughts:
- We can run command to get the installed software on the device. Get-WmiObject -Class Win32_Product -ComputerName $computerName | Select-Object Name, Version https://stackoverflow.com/questions/53161112/full-listing-of-installed-programs-using-powershell Note: Non-microsoft link, just for the reference.
- Then compare with the approved app list in your environment to see if there's any not approved app there.
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.