Today’s a PowerShell Console TIP is to use the CTRL + END Key Combination. Actually these key Combinations works of DOS Console too. So these are kind of Console shortcuts.
We can use the CTRL + END key combination to remove the all text after the Cursor.
Cool! No? try it now.
Type any Long PowerShell command and bring the cursor in the middle of the text and press CTRL + END and voila see the magic.
Please see the below video about it.
Thanks for viewing.