PowerShell/Docs/export-to-serenade.md
2021-10-13 10:36:18 +02:00

44 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## export-to-serenade.ps1 - Exports all scripts to Serenade for voice control
This script exports all PowerShell scripts to Serenade.ai for voice control.
## Parameters
```powershell
export-to-serenade.ps1 [[-FilePattern] <String>] [[-TargetFile] <String>] [<CommonParameters>]
-FilePattern <String>
Required? false
Position? 1
Default value "$PSScriptRoot/*.ps1"
Accept pipeline input? false
Accept wildcard characters? false
-TargetFile <String>
Required? false
Position? 2
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
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
exported 264 PowerShell scripts 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*