Yo Gabba Gabba Cool Tricks 2: Capture all windows services on a text file before performing a major change on your Windows System

~ Begin your task ~

Step 1: Copy the following into notepad and give a name with file extension .vbs

strComputer = “.”

Set objWMIService = GetObject(“winmgmts:” _

& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colRunningServices = objWMIService.ExecQuery _

(“Select * from Win32_Service”)

For Each objService in colRunningServices

Wscript.Echo objService.DisplayName & VbTab & objService.State


Step 2: I have given it a name of “listservices.vbs”. Also, to make my life easier, I have placed the file under C:\.

Step 3: Now open the command line with Administrator privileges

Step 4: First, move down to the location where you have saved your file, then run the visual basic script as below. I am saving the file in the same location with the name and date reference.

C:\>cscript listservices.vbs > c:\listservices17092015.txt

If you want to save this file in a specific location, you can create a folder and save it like this:

C:\>cscript listservices.vbs > c:\service list history\listservices17092015.txt

After you have run the script, a file will be saved with the file name given as below:

Now keep this copy of file for later use. When you open the file with Notepad++, it looks similar to below:

Step 5: Now perform your changes to the system, and compare the difference. In this example, I have manually stopped some services to demonstrate this in our example. I have given the file name “listservices17092015_after.txt”.

Step 6: Now open both files in Notepad++ and use ‘compare’ tool to pin point the stopped services. If this was a Windows Enterprise Server such as DHCP, AD, etc., one interrupted service will cause a big outage, now you know how to pin point the stopped or hanging service, you can restart it from windows services console. To easily get to Windows services console, go to Run >type in ‘services.msc’.

~ Task ended ~





The planet of Network APEs : Part 1.1 – To be Certified OR not to be Certified, that’s the question

There are thousands, perhaps millions of free and paid Cisco Networking training materials in this world, these are offered in the form of free materials on the net, formal classroom training, informal on-line training, training videos, books, self-built and taught labs and most importantly and by far the best training is, on the job training.

Whether you are technical or non-technical or trying to become technical, you belong to one of the two groups of people from Cisco’s perspective. That is ‘Cisco Certified’ or ‘Not Cisco Certified’. Well, what does this mean to anyone really? I think it could have different meaning to different people. But, here is my version of Cisco Certified. First, if you are non-technical and not certified, Cisco networking and its certifications mean jack sh**, a full stop (If you belong to this group, you are excused for stop reading this post here). Second, if you are non-technical and certified, you were probably drunk or on crack while you were studying and while taking the certification exam. Third, if you are technical and non-certified, you are making a living as a technician but when it comes to study, you are a lazy ar**. If you are technical and certified, you are either in good demand or will soon be in great demand in the job market. Well, I try to be an optimistic and positive person here, so don’t try to argue with me if you are technical and certified, but yet, unable to find any work for many months/years. If you are in this category, go and have look at yourself in the mirror, look back on what you have been doing wrong to secure your next job and after that, spend some time reworking your strategies to score that illusive next dream job, but be focused and always stay +++POSITIVE+++. Here, take this! Bang! Bang! “++++++++++”. You now have just taken my 10 positive energy and you are ten times more positive about your future. Just like happiness, more positive energy you share, happier our world becomes.

OK, now you are asking what’s the true meaning of this post’s title “The planet of Network APEs”? You might be thinking “WTF?” Ah, that just means if you are interested in studying Cisco technologies, you should be ready to become a Network monkey, a monkey belongs to Ape family group. You see, we sometimes call car Mechanics, “The grease monkies”, these people love their profession and they love their cars. More widely used term for Network Engineers who love to get Cisco Certified is “Certification Junkies”, but “Network APEs” or “Network monkies” will do me good here as these people will go Ape sh** when it comes to studying and working with Cisco Networking technologies, because they love what they do and you will also become one of them, there are thousands of APEs managing your network in this world, so you can use your iPhone/ iPad and Samsung Galaxies on social media to talk to your friends and also reading posts like this. Ah, actually, I am only joking about this post’s title, let’s cut out this BS and explain why the post’s title is “The planet of Network APEs”, the abbreviation for ‘APE’ stands for ‘Associate’, ‘Professional’ and ‘Expert’, these are the three levels of the most common Cisco Certification paths. I am using three combined word abbreviation because I would like my posts to be read, understood and help others at all technical levels (including myself).

I would like to use my posts as information sharing grounds for people who are studying Cisco Networking and also, use it as my working knowledge pad for future reference. Now, if you are reading this line in this post, I am assuming that you are either studying now or interested in studying Cisco Networking in the future. If you have not had a chance to sit down and think about 4 w’s and 1 h, perhaps you should ask these questions now to know the exact intentions and intended outcomes of your study:

  1. Why do we want to study routing and switching?
  2. What do we study in Cisco routing and switching?
  3. When do we study Cisco routing and switching?
  4. Where do we study Cisco routing and switching?
  5. How do we study Cisco routing and switching to get the most out of my study?

Everyone’s answers will be different and, the path and expected outcome also may vary. The differences are through many factors and sometimes, it depends on your luck (sure, call me a superstitous bastard, but this is very true and you cannot bend it 🙂 ). In the next part, I would like to share my answers to these questions, then I will start sharing Cisco Routing and Switching notes in series. Happy reading and thank you for reading my post!