mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-15 07:12:44 +02:00
Update the manuals
This commit is contained in:
@ -1,64 +1,2 @@
|
||||
## export-to-serenade.ps1 - Exports all scripts to Serenade for voice control
|
||||
|
||||
This script exports all PowerShell scripts to Serenade to execute them by voice.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Application] <String>] [[-TargetFile] <String>] [<CommonParameters>]
|
||||
|
||||
-WakeWord <String>
|
||||
Specifies the wakeword (none by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-FilePattern <String>
|
||||
Specifies the file pattern for the scripts ("$PSScriptRoot/*.ps1" by default)
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value "$PSScriptRoot/*.ps1"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Application <String>
|
||||
Specifies the application to be used
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value terminal
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-TargetFile <String>
|
||||
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
|
||||
|
||||
Required? false
|
||||
Position? 4
|
||||
Default value "$HOME/.serenade/scripts/PowerShell.js"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./export-to-serenade.ps1 Computer
|
||||
⏳ Exporting 264 PowerShell scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
|
||||
✔️ exported 264 scripts with wakework "Computer" to Serenade in 22 sec
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of export-to-serenade.ps1*
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
|
Reference in New Issue
Block a user