Latest Updates: tips

  • Install Microsoft PowerShell in Windows Server 2008 Quickly from the Command Prompt

    20:15 on January 7, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: tips,

    Instead of going through the long-winded way of installing features using Server Manager, you can install PowerShell quickly in Windows Server 2008 from the command line using the following command:

    servermanagercmd -install powershell

    Why use the GUI when the command line is much quicker?

     
  • Ignore ALL DCC from anyone on IRC in irssi

    08:00 on January 7, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: irc, tips

    During the last few months, I’ve been waking up to mass floods of DCC SEND from bots/people trying to exploit random clients into accepting a file over IRC.

    I use irssi for connecting to IRC – it’s an extremely configurable text based client, so I wanted a way to just ignore these DCC requests – I’ve never, ever used DCC in the 11 years I’ve used IRC, and, well, I can’t see myself starting either… so I might as well just ignore them all.

    To ignore all DCC commands from anyone (*!*@*), simply type:

    /ignore * DCC

    And you should receive the message:

    (11:24:00) Ignoring DCC from *

    What this will do is ignore any DCC from anyone – you just won’t see the request coming in, which makes for a much tidier status window/channel window when someone starts getting a bit silly on IRC!

    You may find that this command works in other IRC clients too – it’s a pretty standard feature, but exact syntax may vary.

    You can also have exceptions if you want certain nick and hostmasks to be able to still send DCC (from your trusted sources).  More information is available here: http://static.quadpoint.org/irssi-docs/help-full.html#IGNORE

     
  • Windows 7 Keyboard Shortcut: Start an Application with Administrator Privileges

    02:00 on January 7, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: tips,

    You’ll have noticed that Windows 7 is pretty strict with some applications on the tasks they can perform – I often find myself needing elevated privileges in a Command Prompt to edit the routing table for example.

    You can, of course, right click on the application from the start menu and run as Administrator, but there’s also a keyboard shortcut:

    Ctrl + Shift + (Click Mouse)

    If you hold down the control key, the shift key and then click the application, it’ll run it with administrator privileges – you’ll probably get a prompt from User Account Control, letting you know what’s happening.  This works from both the start menu, the taskbar, and any icon.