mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-27 04:08:44 +02:00
63 lines
1.5 KiB
PowerShell
63 lines
1.5 KiB
PowerShell
# PowerShell Script /home/mf/PowerShell/Scripts/write-typewriter.ps1
|
|
|
|
## Synopsis
|
|
write-typewriter.ps1 [<text>] [<speed>]
|
|
|
|
## Description
|
|
Writes the given text with the typewriter effect
|
|
|
|
## Syntax
|
|
```powershell
|
|
/home/mf/PowerShell/Scripts/write-typewriter.ps1 [[-Text] <String>] [[-Speed] <Int32>] [<CommonParameters>]
|
|
```
|
|
|
|
## -Text <String> Parameter
|
|
|
|
```
|
|
-Text <String>
|
|
|
|
Required? false
|
|
Position? 1
|
|
Default value Hello World
|
|
-----------
|
|
PowerShell is cross-platform
|
|
PowerShell is open-source
|
|
PowerShell is easy to learn
|
|
PowerShell is fully documented
|
|
|
|
Thanks for watching
|
|
|
|
:-)
|
|
Accept pipeline input? false
|
|
Accept wildcard characters? false
|
|
```
|
|
|
|
## -Speed <Int32> Parameter
|
|
|
|
```
|
|
-Speed <Int32>
|
|
|
|
Required? false
|
|
Position? 2
|
|
Default value 250
|
|
Accept pipeline input? false
|
|
Accept wildcard characters? false
|
|
```
|
|
## <CommonParameters>
|
|
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
|
|
|
|
## Example
|
|
```powershell
|
|
PS>.\write-typewriter.ps1 "Hello World"
|
|
```
|
|
|
|
|
|
## Notes
|
|
Author: Markus Fleschutz
|
|
License: CC0
|
|
|
|
## Related Links
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
*Created by convert-ps2md.ps1*
|