Resolve List Printing as Block in PowerShell - DevPops-Inc/windows GitHub Wiki
• The following resolution is for if a list is printing as a block in PowerShell.
•
• Open your PowerShell script in your desired code editor and go to the line where you’re printing the list.
•
• Replace Write-Host $< list >
with Write-Host ($< list > -join “
n”)` to add a carriage return to each list item.
•
• Run the script again and the list will print in a vertically stacked manner this time around.
•