Skip to content

Instantly share code, notes, and snippets.

@rodmhgl
Last active August 17, 2017 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodmhgl/3b1744d113e41a886f37aef6cde1071a to your computer and use it in GitHub Desktop.
Save rodmhgl/3b1744d113e41a886f37aef6cde1071a to your computer and use it in GitHub Desktop.
Just playing around
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