We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2599f9a commit 6bd855aCopy full SHA for 6bd855a
1 file changed
scripts/open-voice-recorder.ps1
@@ -0,0 +1,20 @@
1
+<#
2
+.SYNOPSIS
3
+ Launches the Voice Recorder app
4
+.DESCRIPTION
5
+ This PowerShell script launches the Windows Voice Recorder application.
6
+.EXAMPLE
7
+ PS> ./open-voice-recorder.ps1
8
+.LINK
9
+ https://github.com/fleschutz/PowerShell
10
+.NOTES
11
+ Author: Markus Fleschutz | License: CC0
12
+#>
13
+
14
+try {
15
+ Start-Process explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App
16
+ exit 0 # success
17
+} catch {
18
+ "⚠️ Error: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
19
+ exit 1
20
+}
0 commit comments