Sunday, December 26, 2010
Some of my walks from 2010
I've tried to record unique routes that me and the dog have taken throughout the year.
Still more ground to cover in 2011
Saturday, November 27, 2010
Pear Tree Branch (frosty)
Pear Tree Branch (frosty)
Originally uploaded by mat_g
the whole orchard was covered in frost this morning
chilly but wonderful to look at
Friday, November 19, 2010
Sunday, August 8, 2010
Dog Walk Sun 8th August 2010
brilliant walk with the dog (new htc android phone tracks gps a treat)
just over 8 miles - in just under two hours.
View Dog Walk (marshes) in a larger map
just over 8 miles - in just under two hours.
View Dog Walk (marshes) in a larger map
Saturday, August 7, 2010
back in the saddle - two weeks on holiday and not much exercise certainly shows.
10 Miles (ish), mix of off-road and road work,
View Bike Ride 7 8 2010 in a larger map
10 Miles (ish), mix of off-road and road work,
View Bike Ride 7 8 2010 in a larger map
Thursday, August 5, 2010
Windows Terminal Server reminder
Something I always seem to forget:
Terminal server session administration.
get server sessions
query session /server:
disconnect session
tsdiscon sessionid
kill all processes under a session
tskill /server: /ID:sessionid
reset session on server
reset session sessionname || or || sessionid /server:
Terminal server session administration.
get server sessions
query session /server:
disconnect session
tsdiscon sessionid
kill all processes under a session
tskill /server:
reset session on server
reset session sessionname || or || sessionid /server:
Windows Local Admin Maintenance
local admin group maintenance:
# if your user name is whatever\test
$Server = ""
Foreach($strComputer in $Server)
{
$domain = "blah"
$username = "Fbloke"
$break = "=============="
$computer = [ADSI]("WinNT://" + $strComputer + ",computer")
$computer.name
$Group = $computer.psbase.children.find("administrators")
$Group.name
# This will list what’s currently in Administrator Group so you can verify the result
function ListAdministrators
{$members= $Group.psbase.invoke("Members") | %{$_.GetType().InvokeMember("Name", 'GetProperty', $null, $_, $null)}
$members}
$strComputer
ListAdministrators
$break
# Even though we are adding the AD account but we add it to local computer and so we will need to use WinNT: provider
$Group.Add("WinNT://" + $domain + "/" + $username)
ListAdministrators
$break
# then the option to remove if needed
#$Group.Remove("WinNT://" + $domain + "/" + $username)
#ListAdministrators
}
# if your user name is whatever\test
$Server = "
Foreach($strComputer in $Server)
{
$domain = "blah"
$username = "Fbloke"
$break = "=============="
$computer = [ADSI]("WinNT://" + $strComputer + ",computer")
$computer.name
$Group = $computer.psbase.children.find("administrators")
$Group.name
# This will list what’s currently in Administrator Group so you can verify the result
function ListAdministrators
{$members= $Group.psbase.invoke("Members") | %{$_.GetType().InvokeMember("Name", 'GetProperty', $null, $_, $null)}
$members}
$strComputer
ListAdministrators
$break
# Even though we are adding the AD account but we add it to local computer and so we will need to use WinNT: provider
$Group.Add("WinNT://" + $domain + "/" + $username)
ListAdministrators
$break
# then the option to remove if needed
#$Group.Remove("WinNT://" + $domain + "/" + $username)
#ListAdministrators
}
Tuesday, August 3, 2010
taking home the spoils
Saturday, June 26, 2010
Monday, May 24, 2010
Sunday, April 4, 2010
wet and windy....
Thursday, March 25, 2010
bike ride 25th March
Saturday, March 20, 2010
bike ride 20th March
Friday, March 19, 2010
some things are just simple and work....
(from the output of dir /s /ad /b - feed it through the script below)
open (IN,$ARGV[0]) || die "Can't open $file! $! \n";
while ()
{
$line0 = $_;
chop $line0;
print "cd \"$line0\"\n";
print "forfiles \/D -31\/12\/2007 \/C \"cmd \/c if \@isdir\=\=FALSE 7z a -mx7 \@fname.zip \@fname.\@ext\"\n";
print "forfiles \/D -31\/12\/2007 \/C \"cmd \/c if \@isdir\=\=FALSE del \@fname.\@ext\"\n";
print "::\n";
}
close (IN);
(from the output of dir /s /ad /b - feed it through the script below)
open (IN,$ARGV[0]) || die "Can't open $file! $! \n";
while (
{
$line0 = $_;
chop $line0;
print "cd \"$line0\"\n";
print "forfiles \/D -31\/12\/2007 \/C \"cmd \/c if \@isdir\=\=FALSE 7z a -mx7 \@fname.zip \@fname.\@ext\"\n";
print "forfiles \/D -31\/12\/2007 \/C \"cmd \/c if \@isdir\=\=FALSE del \@fname.\@ext\"\n";
print "::\n";
}
close (IN);
Saturday, March 13, 2010
Bike Ride 13th March
Dog Walk 13 March 2010
Tuesday, March 9, 2010
Walk on the Marsh via Egypt bay
Cold, clear and crisp, walk from decoy farm in High Halstow, via Egypt bay, to Cliffe and then home. Footpath flooded had to strip down and wade through the ditch, while carrying the dog who knew better than me! Brilliant time to walk the marshes as most of the sheep are now close to home for lambing.
Saturday, March 6, 2010
Bike Ride 6th March
Wednesday, March 3, 2010
Bike Ride
Subscribe to:
Posts (Atom)