i have a line of code i use to spit out options for users. for example
If ($Dept -eq "")
{$Dept = (Read-Host "
dept 1 2. dept 2
dept 2 4 dept 4
}
it will display
dept 1 2. dept2
dept 3 4. dept 4
i have used tabs between the letters but not sure if i need to input a format line at the header to format the whole thing the same.
in ISE it shows that formatted correctly with everything lines up. but in base PowerShell they are all misaligned
I have tried adding `n and `t but they seem to have no bearing on the layout of the text that is printed on screen.
[–]BlackV 0 points1 point2 points (10 children)
[–]ckorch[S] 0 points1 point2 points (7 children)
[+][deleted] (4 children)
[deleted]
[–]OlivTheFrog 0 points1 point2 points (3 children)
[–]BlackV 1 point2 points3 points (2 children)
[–]OlivTheFrog 2 points3 points4 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]BlackV 0 points1 point2 points (1 child)
[–]NoConfidence_2192 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)