Posts By: jonny

Active Directory MMC – Object Tab

I keep forgetting how to enable the ‘Object’ tab in the Active Directory MMC to view the location of an object in the tree, so for future reference….In the main MMC window choose View > Advanced Features

Turn off pings

The follwing file can be set to 0 or 1. 0 does not allow pings on any interface and 1 switches it back on. /proc/sys/net/ipv4/icmp_echo_ignore_all

Wheaten Bread

Ingredients: 8 oz Plain Flour 4 oz Wholemeal Flour 1 tsp baking soda 1 tsp salt 1 tsp sugar half pint of buttermilk Mix and roll then coat with flour. Bake at 170 for 45 minutes. Cover in tea towels when cooling.

Pancakes

Ingredients: 8oz Plain Flour 2oz Caster Sugar 1 egg 1 tsp baking soda 1 tsp salt 1 dessert spoon of Golden Syrup Half pint buttermilk Mix all ingredients well. Coat a frying pan with a little butter. On a low heat (e.g. 2) add a tablespoon of the mixture. Cook and flip.

up2date – unknown GPG signature

I had previously installed lftp – can’t remember from where but it was now stopping up2date due to a missing key. The package lftp-3.7.3-1.el4.rf is signed, but with an unknown GPG key. Aborting…Package lftp-3.7.3-1.el4.rf has a unknown GPG signature. Aborting… I need to sort out the key but temporarily sorted with: up2date –nox –configure and… Read more »

Exchange 2007 Logs from Client Access Machines

A short script to make it a little easier to retrieve logs from several client access machines. A little quicker than using the Toolbox Message Tracking Log: $strEvent = “RECEIVE”$dteStart = “31/08/2008 12:34:00”$dteEnd = “01/09/2008 16:44:00”$strMessageSubject = “Email Account Owner”Get-ExchangeServer Where {$_.ServerRole -match ‘ClientAccess’} ForEach {Get-MessageTrackingLog -Server $_.Fqdn -EventID $strEvent -MessageSubject $strMessageSubject -Start $dteStart -End… Read more »

Calf cramps after swimming

I have been experiencing cramps and pain in my right calf for a few weeks now which has forced me to cut down my swimming. The problem started when I was lying asleep in bed and took a cramp which was very sore.Reading this good article has given me a few ideas and I am… Read more »

Plesk 8.4.0 Upgrage – httpd 100%

Scary biscuits. I upgraded Plesk base packages 8.4.0 to 8.6.0, and I usually do the base packages before the other stuff. The base update went fine so I moved on to the other available updates e.g. mailman, application vault, java ssh client, billing, real-time blacklist for qmail, pro website editor (do I really need it?)I… Read more »

Powershell Scheduled Task

To run a powershell script from a scheduled task the following can be used: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe “& ‘c:\scripts\Send-ExchangeServerSummary.ps1′”

Add Exchange Snapin to Windows Powershell

Trying to run exchange-specific commands in the windows powershell returns errors so to make the windows powershell aware of the exchange commands we need to add the appropriate snap in with: Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin That line can be added at the top of any scheduled task scripts.exchange powershell scheduled tasksimport use exchange commands in windows powershelladd… Read more »