$varf = "^" $frunze = "/|\" write-host -foregroundcolor 'Red' ($varf.PadLeft(16)) $tree = "/|\" 1..15 | ForEach-Object { $a=$_ write-host -fore 'green' (" "*(15-$a)+$frunze) $frunze="/"+$frunze+"\" } write-host -foregroundcolor 'green' ("|||".PadLeft(17)) write-host -foregroundcolor 'green' ("|||".PadLeft(17)) write-host -foregroundcolor 'Cyan' ("\---/".PadLeft(18)) write-host -foregroundcolor 'Cyan' ("---".PadLeft(17))