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.
image

• Open your PowerShell script in your desired code editor and go to the line where you’re printing the list.
image

• Replace Write-Host $< list > with Write-Host ($< list > -join “n”)` to add a carriage return to each list item.
image

• Run the script again and the list will print in a vertically stacked manner this time around.
image

⚠️ **GitHub.com Fallback** ⚠️