Windows 10: PowerShell shortcut not working.

Discus and support PowerShell shortcut not working. in Windows 10 Support to solve the problem; Shortcut: Code: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden "&... Discussion in 'Windows 10 Support' started by rdwray, Feb 6, 2021.

  1. rdwray Win User

    PowerShell shortcut not working.


    Shortcut: Code:
    If this code is run inside Powershell.ise, it works, but not with the shortcut: Code:
    If only this code is used, the shortcut works: Code:
    :)
     
    rdwray, Feb 6, 2021
    #1
  2. KeithM Win User

    How to change the WinX menu, including Powershell/Powershell (Admin)

    This part intrigues me. As suggested earler, please post a screenshot of the error message. Also, please clarify/test the follwoing:
    1. Can you start PowerShell from the Start Menu?
    2. If you navigate to %localappdata%\Microsoft\Windows\WinX\Group3, does PowerShell launch from the shortcuts there?
    3. If #1 works & #2 doesn't, compare (& post) the target text from each shortcuts properties. For the Start Menu shortcut, right-click & select Open file location to navigate to the Start Menu folder.

    Keith
     
    KeithM, Feb 6, 2021
    #2
  3. MMO
    mmo Win User
    PowerShell: How to get keyboard shortcuts working?

    I lately switched to PowerShell as my CLI and like it. What I don't understand, though, is, why not all keyboard shortcuts work as one would expect.

    E.g. if I open the upper-left corner menu and navigate to Edit => Find I see a "Ctrl-F" at the right side of the menu entry. This suggests to me that one could also call that function using the displayed keyboard shortcut.

    However, if I hit Ctrl-F on the command line, nothing happens other than that I get a '^F' displayed. No matter what I do or enter subsequently (e.g. '^Ffoobar<Enter>') I always just get an error message '[?]foobar' is not recognized as the name of a cmdlet, function, etc.'
    ( [?] here indicating a box with some too-tiny-to-read character inside).

    So, the ^F and some other keyboard shortcuts that are displayed in the menu are obviously ignored and have no function.
    Is there a way to get these working in PowerShell?
     
  4. lvgandhi Win User

    PowerShell shortcut not working.

    powershell help does not seem to work

    Thanks for response.
    I have done chkdsk C: /f also.
    still not working. I tried your suggestion also. That also does not work.
    But as I said get-help dir works. Please see below

    PowerShell shortcut not working. [​IMG]
     
    lvgandhi, Feb 6, 2021
    #4
Thema:

PowerShell shortcut not working.

Loading...
  1. PowerShell shortcut not working. - Similar Threads - PowerShell shortcut working

  2. PowerShell Admin and PowerShell is not working

    in Windows 10 Gaming
    PowerShell Admin and PowerShell is not working: I cannot use PowerShell anymore https://answers.microsoft.com/en-us/windows/forum/all/powershell-admin-and-powershell-is-not-working/5609d07f-3986-4c10-aee8-6f243bc7123b
  3. PowerShell Admin and PowerShell is not working

    in Windows 10 Software and Apps
    PowerShell Admin and PowerShell is not working: I cannot use PowerShell anymore https://answers.microsoft.com/en-us/windows/forum/all/powershell-admin-and-powershell-is-not-working/5609d07f-3986-4c10-aee8-6f243bc7123b
  4. PowerShell Admin and PowerShell is not working

    in Windows 10 BSOD Crashes and Debugging
    PowerShell Admin and PowerShell is not working: I cannot use PowerShell anymore https://answers.microsoft.com/en-us/windows/forum/all/powershell-admin-and-powershell-is-not-working/5609d07f-3986-4c10-aee8-6f243bc7123b
  5. shortcut to folder that works in powershell

    in Windows 10 Network and Sharing
    shortcut to folder that works in powershell: Hi,I would like to have a shortcut or equivalent to a directory that functions in powershell.Most of the folders I usually access in powershell are on another drive. This means that to access them I need to type "cd D:/something/something-else/projects" for example.Is there a...
  6. shortcut to folder that works in powershell

    in Windows 10 Gaming
    shortcut to folder that works in powershell: Hi,I would like to have a shortcut or equivalent to a directory that functions in powershell.Most of the folders I usually access in powershell are on another drive. This means that to access them I need to type "cd D:/something/something-else/projects" for example.Is there a...
  7. shortcut to folder that works in powershell

    in Windows 10 Software and Apps
    shortcut to folder that works in powershell: Hi,I would like to have a shortcut or equivalent to a directory that functions in powershell.Most of the folders I usually access in powershell are on another drive. This means that to access them I need to type "cd D:/something/something-else/projects" for example.Is there a...
  8. PowerShell: How to get keyboard shortcuts working?

    in Windows 10 Support
    PowerShell: How to get keyboard shortcuts working?: I lately switched to PowerShell as my CLI and like it. What I don't understand, though, is, why not all keyboard shortcuts work as one would expect. E.g. if I open the upper-left corner menu and navigate to Edit => Find I see a "Ctrl-F" at the right side of the menu entry....
  9. "Win + R" "powershell" - Eliminar PowerShell Shortcut (.lnk)

    in Windows 10 Customization
    "Win + R" "powershell" - Eliminar PowerShell Shortcut (.lnk): Buenas tardes, Tengo instalado Windows 10 versión 1803 (OS Build 17134.254) En un Surface laptop ---- Quiera saber donde localizar el PowerShell Shortcut (.lnk) que se ejecuta al entrar la combinación de teclas "Win + R" y escribir "powershell". La razón es que "jugando" con...
  10. PowerShell Scripting - Run a Script from Shortcut

    in Windows 10 Tutorials
    PowerShell Scripting - Run a Script from Shortcut: How to: PowerShell Scripting - Run a Script from Shortcut [img] Information One of many PowerShell security features is that you can't run a script simply by double clicking it's icon on desktop or in a folder. Doing so will by default open script in Notepad for editing...