Powershell terminal gets mangled after a few commands

Powershell terminal gets mangled after a few commands