mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-13 10:10:41 +01:00
61 lines
1.4 KiB
Markdown
61 lines
1.4 KiB
Markdown
|
# PowerShell Script: write-typewriter.ps1
|
||
|
```powershell
|
||
|
write-typewriter.ps1 [<text>] [<speed>]
|
||
|
```
|
||
|
|
||
|
Writes the given text with the typewriter effect
|
||
|
|
||
|
## Syntax & Parameters
|
||
|
```powershell
|
||
|
/home/markus/Repos/PowerShell/Scripts/write-typewriter.ps1 [[-text] <String>] [[-speed] <Int32>] [<CommonParameters>]
|
||
|
```
|
||
|
|
||
|
```
|
||
|
-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>
|
||
|
|
||
|
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.
|
||
|
```
|
||
|
|
||
|
## Example
|
||
|
```powershell
|
||
|
PS>./write-typewriter "Hello World"
|
||
|
```
|
||
|
|
||
|
|
||
|
## Notes
|
||
|
Author: Markus Fleschutz · License: CC0
|
||
|
|
||
|
## Related Links
|
||
|
https://github.com/fleschutz/PowerShell
|
||
|
|
||
|
*Generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1*
|