How to see what channel your wireless networks is using PowerShell or Command Prompt

If you want to see what channel your wireless network, or the neighbouring networks, then you can run the below script in either PowerShell or the Command Prompt. Why look at the...

How to copy files to client machines via a logon script

This can be very handy when you have set a group policy to display a certain background image/file. Lefts say your group policy is configured to set everyones background to a image...

Map a network printer in a logon script

As long as your printer is networked, connected to a print server and shared, then mapping the printer via a logon script is fairly easy. Firstly consider adding an echo line of...

Bullet point spacing with css

To increase the spacing between bullet points with CSS simple add the below code to your .css file: Obviously you can change the values to reach your desired spacing, but the above...

Force the compatibility mode in IE8

If your website doesn't display properly in IE8, then it's recommended that you amend your code, but in the meantime you could force Internet Explorer 8 to run in the compatibility mode. Simply add the...

Set clock by logon script

To set you client machines to the same time, simply decide on a server to use as the time source. Then consider adding a echo message to inform the user of what...

Stop the compatibility button being show on your website in IE8

If your website shows the compatibility button when you browse it in IE8 (Internet Explorer 8) then this is how to remove the button. Simply add the below line to the <head></head>...

How to put an asp.net website in maintenance mode

If you need to take your website offline, for any reason (eg. database maintenance, site move etc), you can do so very easily by just creating one .htm file and dropping...

Manage DHCP Filters via PowerShell Script

If you operate a list of allowed mac addresses on your DHCP server to prevent unauthorised users/devices from obtaining an IP address, it can be a pain to have to constantly...

Set Ajax Toolkit Accordion Selected AccordionPane by ID

If you want to choose which AccodionPane is selected, you generally use the SelectedIndex command. However, if you want to select which AccordionPane is active by its ID and when you...

C# Detect HTTPS in a load balanced environment

Detecting HTTPS in your asp.net c# web app is fairly straight forward in a normal environment with a single server solution, as you can see from the below example: The problem comes...

Remove border lines around links in firefox

Have you noticed those nasty dotted lines around links when you click on them in Firefox? Well here's how to get rid of them, and it's quite simple really just add...

How to delete files by age with PowerShell

You can easily use PowerShell to delete files that are older than x minutes/hours/days.  This is useful if you have a temporary folder which you would like to regularly clear down. ...