Understanding memory leaks – the simple way

May 30, 2009

A memory leak generally happens if you have a used a part of memory to store some data and do not release it when the work is complete. This kind of programming logic when used within a loop or an infinite loop can be quite disastrous.

Continue Reading →

Another useful release of HVS2008 UI

November 6, 2008

I have been busy for the last couple of weeks and did not get enough time to look at this. Finally, I sat on this last evening and completed a few things by this morning. I have made another release of HVS 2008 UI scripts on Codeplex. You can find the release at http://www.codeplex.com/HVS2008UI/Release/ProjectReleases.aspx?ReleaseId=19108

Continue Reading →

Finding Network Adapter with an active link

September 21, 2008

Recently, I wrote a small batch script to configure a bunch of systems with similar settings. In this process, I had to find out a NIC with an active connection to assign it an IP address. However, I could not find a straight forward way to do that in a batch script. I started looking at [...]

Continue Reading →

WMIC – Windows Management Instrumentation Command-line

September 16, 2008

WMIC is a great tool to retrieve lot of useful system information without even writing a single line of code. I have used this for a while and find it really useful when scripting some repeated tasks such as enabling remote desktop on a group of systems, adding systems to Windows domain, etc, etc. It also [...]

Continue Reading →

Hyper-V WMI documentation with sample code

August 31, 2008

MS updated Hyper-V WMI documentation on MSDN with some sample code for the methods. Check it out @ http://msdn.microsoft.com/en-us/library/cc136992(VS.85).aspx. I am looking at creating some useful wrappers with the help of the samples available there. Watch this space for more..!

Continue Reading →