Last active
August 17, 2017 15:44
-
-
Save rodmhgl/3b1744d113e41a886f37aef6cde1071a to your computer and use it in GitHub Desktop.
Just playing around
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getSpace { | |
[cmdletbinding()] | |
param( | |
[string]$space = ' ', | |
[string]$separator = '-', | |
[int]$depth | |
) | |
Write-Output $(($space + $separator) * $depth) | |
} | |
write-host "!$(GetSpace -depth 4)!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment