Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show cursor in Powershell

I'm new to Powershell and have to use it now that I am doing a lot in Azure.

When I open the Azure Powershell window, the blinking cursor is not there and it's hard for me to tell where edit. How do I turn on the cursor? I have done a lot of searching but have not found the answer anywhere.

like image 778
Mike Malter Avatar asked Aug 19 '14 22:08

Mike Malter


People also ask

How do I move cursor in PowerShell?

To move the cursor one character to the left, press the Left arrow . To move the cursor one word to the left, press Ctrl + Left arrow . To move the cursor one character to the right, press the Right arrow . To move the cursor one word to the right, press Ctrl + Right arrow .

Can PowerShell control mouse?

Moving the mouse cursor with PowerShell is much easier than one may imagine. Simply hit go and watch your mouse cursor whiz away to the corner! Three lines of code takes about as much time to write and deploy as it would for the HelpDesk staff member in question to go and move the mouse on the displays.

What is ${} in PowerShell?

The ${} notation actually has two uses; the second one is a hidden gem of PowerShell: That is, you can use this bracket notation to do file I/O operations if you provide a drive-qualified path, as defined in the MSDN page Provider Paths.

What is the shortcut to open PowerShell?

Launch Task Manager: a quick way is to simultaneously press the Ctrl + Shift + Esc keys on your keyboard. If the Task Manager opens up in its compact mode, click or tap on "More details." Then, open the File menu and click or tap on "Run new task." In the "Create new task" window, type powershell and press Enter or OK.


1 Answers

It is a powershell issue which defaults size of the cursor to 0 thus making it invisible. The fix is type the following command in the powershell window

[Console]::CursorSize = 25

like image 189
S1r-Lanzelot Avatar answered Oct 11 '22 19:10

S1r-Lanzelot