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 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. ...

Set Ajax Toolkit Accordion Panes all closed on load

As you know when you use the accordion element of the Ajax Toolkit, one of the panes is automatically open on load. Well there is a way around this, simply add...

Map a network drive in a logon script

There are two ways to map a network drive and each is more useful in a different situation. Method 1 This way is the more efficient of the two and most useful if...

How to automatically redirect all HTTP traffic to HTTPS on Exchange

Users often don't remember to use https:// when access Outlook Web Access, they simply just use https://. So to automatically redirect them to the same address but with https:// simply follow...

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>...

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...

DropDownList SelectedItem.Value or SelectedValue not working when TabPanel is removed

If you're using the TabContainer, which is part of the Ajax Control Toolkit and have noticed that when you remove a tab you have issues accessing the values from a DropDownList...

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...

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...

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...

Enable Browsers to see XML/RSS feeds

If you want internet browsers to recognise your XML/RSS feeds as soon as a visitor reaches your website, then this article is for you. Browsers such as Internet Explorer 7 have...

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...