Add open-downloads.ps1

This commit is contained in:
Markus Fleschutz
2021-10-21 16:46:32 +02:00
parent e659cc2606
commit 2102b57921
5 changed files with 55 additions and 3 deletions

View File

@@ -25,11 +25,11 @@ export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Targe
Accept wildcard characters? false
-TargetFile <String>
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
Specifies the target file ("$HOME/.serenade/scripts/custom.js" by default)
Required? false
Position? 3
Default value "$HOME/.serenade/scripts/PowerShell.js"
Default value "$HOME/.serenade/scripts/custom.js"
Accept pipeline input? false
Accept wildcard characters? false
@@ -41,7 +41,7 @@ export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Targe
## Example
```powershell
PS> ./export-to-serenade.ps1 Computer
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/custom.js...
exported 264 PowerShell scripts to Serenade in 22 sec
```

26
Docs/open-downloads.md Normal file
View File

@@ -0,0 +1,26 @@
## open-downloads.ps1 - Opens the downloads folder
This script starts the File Explorer with the downloads folder.
## Parameters
```powershell
open-downloads.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-file-explorer
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of open-downloads.ps1*