Last active
February 1, 2026 05:00
-
-
Save argctl/aaa45de8d462606e3ed67d525fbfca56 to your computer and use it in GitHub Desktop.
mic_check.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #quickly check what has used your mic through windows | |
| Get-ChildItem "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\NonPackaged" | | |
| ForEach-Object { | |
| $props = Get-ItemProperty $_.PSPath | |
| [PSCustomObject]@{ | |
| App = $_.PSChildName | |
| Started = $props.LastUsedTimeStart | |
| Stopped = $props.LastUsedTimeStop | |
| InUse = $props.LastUsedTimeStop -eq 0 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment