YouTube – What is Google Voice?

No Comments »

YouTube – What is Google Voice?.

FREE IP Telephony, google voice in Canada

Posted on August 27th 2010 in IT/ Network Admin, news update

Export From Active Directory – CSVDE.exe

No Comments »

CSVDE is available from the Administrative tools and very quick and easy tool to export list of active directory items and sort them out.

http://www.computerperformance.co.uk/Logon/Logon_CSVDE_Export.htm

When looking for Enabled and Disabled accounts, unfortunately it’s not just a 1 or 0. The “UserAccountValues” combines a number of attributes into on decimal number.

http://www.computerperformance.co.uk/ezine/ezine23b.htm

Posted on August 16th 2010 in IT/ Network Admin

Toshiba libretto® W100 Dual-Screen Laptop PC

No Comments »

Toshiba libretto w100

Nice stuff coming out after IPad, more portable physically but with Win7 and not sure about 3G cellular options in North America.

Toshiba libretto® W100 Dual-Screen Laptop PC.

Posted on August 15th 2010 in news update

PerceivedType – Preview Pane in Windows7

No Comments »

I really like the preview pane of win7, it give you a “good size” outlook of what the file you are looking at is about. I definitely updated my system for with the PDF preview handler from

http://timheuer.com/blog/archive/2008/05/09/foxit-pdf-preview-handler.aspx

How about if I could see my script in the preview pane too?? is that a silly idea?? NOOOO!!

Check this out:

http://msdn.microsoft.com/en-us/library/cc144150%28VS.85%29.aspx

All you have to do is add a registry String value under the extension you want (e.g. HKEY_CLASSES_ROOT\.vbs )

Done!

Posted on August 13th 2010 in IT/ Network Admin

vbScript to Obtain IP Address

No Comments »

Being an administrator, you can’t do much if you don’t know about IP Addresses, and how frustrating and stupid it is that it is so difficult to get the IP Address of a machine is a single variable when you are scripting on Windows!!!

sure you can get it with “IPCONFIG” or “ipconfig | find “IP Address”" (winXP) or ipconfig | find “IPv4″ but that gives you a full line and you have to go filter for the ip address only.

Other solutions, vbscript , method, wmi? or registry?

can do both except that the WMI is weird and doesn’t seem to work similarly on winXP as on win7.

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration")
 
For Each objItem In colItems
wscript.echo objItem.IPAddress(0)
Next

Gives you the address but an error which doesn’t quite seem to make sense..

the other option, get it from Registry. This is tricky because the network interface subkey is different for every machine. The trick is to recursively search the subkey for the ValueName you are looking for.. et voilà!!

const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"&_
    strComputer & "\root\default:StdRegProv")
strKeyPath = "SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces"
retval = objReg.EnumKey(HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys)
'WScript.Echo retval
strValueName = "IPAddress"
For Each subkey In arrSubKeys
      strKeyPath1 = strKeyPath & "\" & subkey
	  'wscript.echo strKeyPath
	  Return = objReg.GetMultiStringValue(HKEY_LOCAL_MACHINE,strKeyPath1, _
    strValueName,arrValues)
If (Return = 0) And (Err.Number = 0) Then
' Treat the multistring value as a collection of strings separated by spaces and output
    For Each strValue In arrValues
    WScript.Echo  strValue
Next
End If
 
Next
Posted on August 13th 2010 in IT/ Network Admin

India unveils prototype of $35 computer, paving way for solar-powered websurfing in villages – Yahoo! Canada News

No Comments »

India unveils prototype of $35 computer, paving way for solar-powered websurfing in villages – Yahoo! Canada News.

Glad to hear that some people are working in this direction, one’s at a conference on Afria, a person asked, “why is it that the people that needs it the most have it the least?” well cheers to Linux and the open source community! Make it stable and reliable!

Posted on July 24th 2010 in IT/ Network Admin, news update

French scientists crack secrets of Mona Lisa – Yahoo! Canada News

No Comments »

French scientists crack secrets of Mona Lisa – Yahoo! Canada News.

We come from an era of great artists who could do so much with so little to a period where we spend so much to marvel on the past. What becomes of our today’s artists ? do they go so cheap or is there any hope for them to ever be recognized ? Or is it that in 100 years, if there is still human on earth, they will be looking back at the iPhone and the Androids as historical breakthrough of the past???

Posted on July 19th 2010 in Personal, news update

Get your Free Phone Line Phone Service

No Comments »


Haven’t you tried the beta version of the freephone line? awesome look, much cleaner and stable when using multiple device connections.

Posted on June 27th 2010 in IT/ Network Admin, news update

Quick DHCP Server Configuration

No Comments »

I’ve some job coming up where I’ll have to reconfigure a few DHCP servers. GUI interface is great but when you have a lot to do and you don’t want to miss anything, it’s better to have a script ready and check for all configs required. Microsoft somehow got that and moving on with a “core” version for in its 2008 server. Time to really make use of the new “black and white – non-graphical” technology!!

netsh dhcp server <serverip> add scope <scopeip> <scopesubnet> “<ScopeName>” “<Scopedescription>”      
netsh dhcp server <serverip> Scope <scopeip> add iprange <start ip> <last ip>      
netsh dhcp server <serverip> Scope <scopeip> add excluderange <startexcludeip> <last exclude ip>      
netsh dhcp server <serverip> Scope <scopeip> set optionvalue 003 IPADDRESS “<router IP>”      
netsh dhcp server <serverip> Scope <scopeip> set optionvalue 006 IPADDRESS “<DnsSvr1>” “<DnsSvr2>”    
netsh dhcp server <serverip> Scope <scopeip> set optionvalue 015 string  “Domain Name”      
Netsh dhcp server <serverip> Scope <scopeip> set optionvalue 051 DWORD 86400      
netsh dhcp server <serverip> Scope <scopeip> set state 1        
netsh dhcp server <serverip> Scope <scopeip> add reservedip <reserve ip> <mac-address> “<reservename>” “<reserveDescription>” “BOTH”
netsh dhcp server <serverip> Scope <scopeip> add reservedip <reserve ip> <mac-address> “<reservename>” “<reserveDescription>” “BOTH”
netsh dhcp server <serverip> Scope <scopeip> add reservedip <reserve ip> <mac-address> “<reservename>” “<reserveDescription>” “BOTH”
netsh dhcp server <serverip> Scope <scopeip> add reservedip <reserve ip> <mac-address> “<reservename>” “<reserveDescription>” “BOTH”
                   
  1. Copy paste in spreadsheet, update all <..> as required.
  2. Copy paste to a text file,
    1. save as a .BAT, execute wherever with proper permissions.
    2. save to a single file and run using the C:\>netsh exec filename.txt command from the command line.

NB: Option value: 3=ROUTER ; 6=DNS ;15=Lease time; 51=Domain Name;

Posted on June 25th 2010 in IT/ Network Admin

Erindale Park Summer 2010

No Comments »
Posted on June 25th 2010 in Personal, Photo