Add open-home-folder.ps1

This commit is contained in:
Markus Fleschutz
2021-10-23 11:06:03 +02:00
parent 86f936df08
commit 1f8804fe37
8 changed files with 94 additions and 7 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/custom.js" by default)
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
Required? false
Position? 3
Default value "$HOME/.serenade/scripts/custom.js"
Default value "$HOME/.serenade/scripts/PowerShell.js"
Accept pipeline input? false
Accept wildcard characters? false
@ -41,8 +41,8 @@ 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/custom.js...
exported 264 PowerShell scripts to Serenade in 22 sec
Exporting 264 PowerShell scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
exported 264 scripts with wakework "Computer" to Serenade in 22 sec
```

View File

@ -0,0 +1,26 @@
## open-downloads-folder.ps1 - Opens the downloads folder
This script starts the File Explorer to show the downloads folder.
## Parameters
```powershell
open-downloads-folder.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-downloads-folder
```
## 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-folder.ps1*

View File

@ -4,7 +4,16 @@ This script starts the File Explorer.
## Parameters
```powershell
open-file-explorer.ps1 [<CommonParameters>]
open-file-explorer.ps1 [[-Path] <String>] [<CommonParameters>]
-Path <String>
Specifies the path to the folder to display
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,

26
Docs/open-home-folder.md Normal file
View File

@ -0,0 +1,26 @@
## open-home-folder.ps1 - Opens the home folder
This script starts the File Explorer to show the home folder.
## Parameters
```powershell
open-home-folder.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-home-folder
```
## 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-home-folder.ps1*