Getting powershell current line before ENTER is pressed Getting powershell current line before ENTER is pressed powershell powershell