Showing items from Windows

How to Use CTRL+D To Close A PowerShell Window

If you’re familiar with using CTRL+D to exit out of your shell and want the same functionality for your PowerShell, here’s how to do it.

Open your PowerShell profile (Documents\PowerShell\Microsoft.PowerShell_profile.ps1):

notepad $PROFILE

and add this line:

Set-PSReadLineKeyHandler -Key Ctrl+d -Function DeleteCharOrExit

That’s it. Now reload your profile (or open a new terminal):

Continue Reading

Windows 8 Left Justified Menus

I’ve been running into some issues with my work laptop where all the menus are getting left justified from time to time. I’m not sure why it keeps happening and it doesn’t happen on any of my other Windows 8 machines. However, this is the fix:

  1. Press Windows+R
  2. Type this command into the the run command window:
    shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
  3. Press enter. This will bring up the tablet PC settings.
  4. Click on the Other tab, select the left handed radio button under the handedness box and click OK

That fixes the issue. It does not however fix it from not happening again.

Continue Reading