What does the >> cursor mean in Powershell after typing a command?
-
I ran the following command: get-adorganizationalunit -filter 'Name -like "*" | format-table name, Distinguishedname -a and get a cursor with >> instead of PS C:. What does this mean?
-
That's the way that the shell indicates to you that you have an incomplete command and that it is awaiting the rest of it. This is copied from older shells like BASH which got it from the original SHELL.
-
That usually means you forgot a quote mark or something.
-
I'll try my syntax again. Is there a way to try again without having to close PS and reopen again?
-
@fredtx said in What does the >> cursor mean in Powershell after typing a command?:
I'll try my syntax again. Is there a way to try again without having to close PS and reopen again?
Try Control-C
-
@scottalanmiller That did the trick. Didn't even cross my mind. Thanks!