Sunday, December 6, 2009

How to generate installed patch report on any computer

Hi friends,

Here is the script for generating installed patch report for any computer.

1.Copy below code in notepad and save file as "update.vbs".

Wscript.echo "Script is running..."
Set objSession = CreateObject("Microsoft.Update.Session")
Wscript.echo "ObjectSession created."

Set objSearcher = objSession.CreateUpdateSearcher
Wscript.echo "objSearcher has been set."

Set objResults = objSearcher.Search("Type='Software'")
Wscript.echo "objResults has been set."

Set colUpdates = objResults.Updates
Wscript.echo "colUpdates has been set."

Wscript.echo "Starting loop."
For i = 0 to colUpdates.Count - 1

Wscript.echo ("Number " & i & ": " & colUpdates.Item(i).Title)
2. Now create a batchfile. Type below command in batchfile
cscript update.vbs > report.txt
3. Save both file at same location. and run batch file. A new file report.txt will be created with all installed patches.
Note: "Automatic updates" service should be running to complete the task.

Tuesday, December 1, 2009

Exchange server Interview Questions

Hi Friends,

Here are some exchange server interview questions.

1. What is difference between exchnage 2003 standard edition and enterprise edition.
2. What is difference between .edb and .stm files
3. What is MAPI and MIME.
4. Describe exchange 2007 clustering. and difference between them.
5. What type Of clusters are available in exchnage 2003/2007.
6. What are routing groups and administrative groups.
7. What is transport dumpster. how do you configure.
8. What is bridgehead server. in exchange 2003. What type of connector available in exchage 2003.
9. What is circullar logging. how do you configure it.
10. Steps of Transition from exchange 2003 to exchange 2007.
11. Name of exchnage services. what is use of "system attendent" service.
12. Major features of exchange 2007.
13. What is edge transport server. How do you configure Edge subscription.