How to set the PowerShell Window Title
When running multiple scripts, either at the same time, or sequentially, it’s nice to know which script is running. An easy way to do this, it to set the title of the PowerShell window, when the script is running. To do this, simply ad the below code to the top of your PowerShell script: Now
Enable or disable hibernate in Windows 10
If, like me, you want to set your computer to hibenate, instead of sleep, you’re probably annoyed that this option is not on by default. Sleep has it’s place, but it still uses power. Thankfully though, it can easily be enabled, by following the below steps: These steps have been created on a Windows 10
Diagnose SQL server by viewing running and queued queries
If you run a busy SQL server an experience performance issues, there are several things you can do to diagnose issues. I’ll ignore the obvious ones for now (ensuring your queries are streamlined and using the SQL Profiler) and will provide you with an additional script to run which will give you a view of
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: if (HttpContext.Current.Request.IsSecureConnection) { Response.Write("Using HTTPS"); } else { Response.Write("Using HTTP"); } The problem comes when your web application is on multiple servers and behind a load
Change your Sky Q AirPlay / Bluetooth name
If you have multiple Sky Q boxes, say a Sky Q Silver and two or three Sky Q Mini boxes, the similar airplay/bluetooth names can be confusing. The good news is, that you can change this, but only partly. The exception to this is if you pair a device via the Sky Q box, that
No mouse cursor in VMware vSphere 6.5 console
Have you noticed that you don’t have a mouse cursor and cannot operate your VM’s via the console in VMWare vSphere 6.5? It’s likely as simple as the VMWare tools, but to enable this to happen you may have to change a few settings. Particularly if like me, you migrated from ESXi 5 to 6.5
Enable use of # and % characters in OneDrive Business
If you’re seeing errors syncing files and/or folders containing special characters such as a # and %, then it’s likely because you haven’t allowed syncing of these. For some reason Microsoft disable this as standard, so you manually have to enable it. Here’s what this issue looks like: OneDrive ‘The name or type isn’t allowed’
Amazon Echo Review
Like many of you, I’d always wanted to try the Amazon Echo, but I wasn’t going to shell out £149 for one. However, on Amazon Prime Day, I bagged one for £79. My intention being to sell it if I thought it was rubbish. Not to spoil the outcome of this review, but I still
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. netsh wlan show networks bssid Why look at the channels that the wireless networks are using? The main reason to look at the wireless channel on your
Delegate permissions to another user in Exchange 2010
If you have a need allow a user to access the mailbox of another user, please first notify the users beforehand or ensure that you have the necessary policies in place to cover you. How to give users access to another users mailbox This guide is focuses around Exchange 2010 (I know, just helping a
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 open the DHCP console and disable/enable the list and/or add a new device to the list. To make this easier, you can setup a
Firefox sync not working
If you’ve installed Firefox, logged into your account and the sync isn’t working. There appears to be a bug that stops this from working, but luckily there is any easy fix, just follow the below: Fix Firefox sync issue Open ‘Firefox’. Open the menu by pressing the 3-bar menu. Select privacy from the left menu.
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 in the root folder of your website. Here’s what you need to do: How to create a asp.net maintenance notice Create a blank HTML
How to get ‘Open command window here’ menu option back in Windows 10 following the Creators Update
The most recent update for Windows 10, Creators Update, has made a fair few layout changes. One of which, is replacing the shift + right click menu option from ‘open command window here‘ with ‘Open PowerShell window here‘, as shown below: This probably isn’t a problem for most people since PowerShell has taken over from
Microsoft Word experienced an error trying to open the file
If you are seeing the ‘Microsoft Word experienced an error trying to open the file‘ error, this might be misleading and the cause is likely nothing like what the error message says. In fact, it’s most likely security setting to try and protect you. Please note that this is at your own risk, if you
Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space
If you are seeing the ‘Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space‘ error, this might be misleading and the cause is likely nothing like what the error message says. In fact, it’s most likely security setting to try and protect you. Please note
Sky Q Tip: How to Access Hidden Sky Q Engineers Menu
If you have Sky Q, there’s a hidden engineers menu with some extra options including the ability to change the wi-fi bands and enabling connectivity over your home’s existing electricity wiring (known as powerline). Sky aren’t currently supporting powerline*, it’s a work in progress. It does appear to work, but if you decide to try
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. Please see the below examples: Delete files older than x minutes Get-ChildItem -path C:\temp | where {$_.Lastwritetime -lt (date).addminutes(-5)} | remove-item Delete files older
How to find which exchange mailbox is linked to specific email address
Sometimes tracking down the exchange mailbox which is linked to a specific email address can be time consuming, but you you make this task easier by using the Exchange Management Shell. To do this, follow the below instructions: 1) Open the Exchange Management Shell 2) Enter the below code, but swap [email protected] for the email
How to create a 301 Redirect in c# and vb.net
If you need to redirect a page to another page or site, it’s best to use a 301 redirect to help retain some of your SEO work. It’s believed that a 301 redirect will reduce your PageRank by only 15%, compared with the 100% loss if you just redirect or use a 302 redirect. To
Skype 5.3 has stopped working
If you have upgraded to Skype version 5.3 and you are getting the ‘Skype has stopped working’ error message (shown below) it could be easily solved. In previous version of Skype when running on a Windows 7 x64 machine the program didn’t minimise to the sys tray icon, but the way around this was to
Screenshot on iPhone, iPad and iPod Touch
To take a screenshot on iPhone, iPad or iPod Touch, simply do the below: 1) Press and hold the sleep button (outter edge button at the top) 2) Press the home button (button on front at bottom) The phone will make a camera sound and the image will be in your camera roll/photos section on
Enable send as permissions on distribution groups in Exchange 2010
To allow a user to be able to send on behalf of a distribution group, simply follow the below: 1) Logon to your Exchange 2007/2010 server 2) Open the ‘Exchange Management Shell’ 3) Type the below in, but change ‘GroupName’ to the name of the group and ‘UserName’ to the name of the user you
An IIS directory entry couldn’t be created. The error message is Access is denied.
If you have installed Exchange 2010 in and Exchange 2007 environment, you may come across the below error: An IIS directory entry couldn’t be created. The error message is Access is denied. HResults = 2147024891 It was running the command ‘Get-OWAVirtualDirectory’ If you do, the solution is very simple, follow the below: 1) Logon to
Exchange 2007 SP2 setup cannot continue with the upgrade because the beremote has open files
This article will help you if when installing Microsoft Exchange Server 2007 Service Pack 2 you receive a message like below: Exchange 2007 SP2 setup cannot continue with the upgrade because the beremote has open files Basically this is because another service or application is connected to your exchange server, for us it was caused
Windows Media Services 2008 and IIS 7 both using the HTTP protocol on the same server
To enable both Windows Media Services 2008 to stream content over HTTP and still allowing IIS 7 to operate on the same server, follow the below instructions: 1) Ensure both IIS and Windows Media Services 2008 (WMS) are installed 2) Ensure you have more than one IP address on your server. 3) Decide which IP addresses will be used for IIS
Purge all disconnected mailboxes in Exchange 2007
If you want to purge all your mailboxes in Exchange 2007, simply follow the below: 1) Open ‘Exchange Management Shell’ 2) Add all the disconnected mailboxes into a var by typing the below: $users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database 3) Purge all the disconnected mailboxes in the previously
Find my number on Vodafone
If you’re on the Vodafone network and you’d like to find your mobile numbet, if you can’t remember it, dial *#100# and press send. Your number will then display on screen. This does work on all handsets, as far as we are aware.
Stop your BlackBerry deleting old calendar items when syncing with Outlook
You may have noticed that calendar items more than 60 days old are automatically being deleted when you sync your BlackBerry up with Outlook, this is because your BlackBerry automatically is set to a 60 day retension, so fix this, follow the below process on your BlackBerry and it should stop if from happening: 1)
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 binded your data to your ajax accordion you set the ID of each AccordionPane you can use the below code: This example is based
