Thursday, June 3, 2010

Windows Management Instrumentation Command

Windows Management Instrumentation Command.

Read a huge range of information about local or remote computers. Also provides a way to make configuration changes to multiple remote machines.


Syntax
WMIC [global switches] [/locale:ms_409] alias> [options][format]

What is WMIC?

WMIC extends WMI for operation from several command-line interfaces and through batch scripts. Before WMIC, people used WMI-based applications (such as SMS), the WMI Scripting API, or tools such as CIM Studio to manage WMI-enabled computers. Without a firm grasp on a programming language such as C++ or a scripting language such as VBScript and a basic understanding of the WMI namespace, do-it-yourself systems management with WMI was difficult. WMIC changes this situation by giving you a powerful, user-friendly interface to the WMI namespace.

WMIC is more intuitive than WMI, in large part because of aliases. Aliases take simple commands that you enter at the command line, then act upon the WMI namespace in a predefined way, such as constructing a complex WMI Query Language (WQL) command from a simple WMIC alias Get command. Thus, aliases act as friendly syntax intermediaries between you and the namespace. For example, when you run a simple WMIC command such as

useraccount list brief

from the WMIC command prompt to get user account information, the Useraccount alias performs a WQL query of the Win32_Useraccount class and displays specific data from this class in text format. WMIC also displays the Win32_Useraccount class's properties at the console in text format. WMIC can return the results of a command in other formats, such as XML, HTML, and Comma Separated Value (CSV).

How to Run WMIC

To invoke the WMIC command prompt, type

wmic

in the standard XP or .NET Server command interpreter (cmd.exe), a Telnet session, or the Run dialog box. These startup methods are available locally or through a .NET Server Terminal Services session.

The first time you start WMIC, Windows installs it on the computer and displays the WMIC command prompt, wmic:root\cli>. At this prompt, you enter commands interactively. For example, the command

process where name='outlook.exe' call terminate

closes Microsoft Outlook if it's running. After the command runs, the WMIC command prompt reappears. Note that you must type each command in this article on one line, not split across multiple lines, for the commands to run properly. (Some commands in the tables and listings in this article are split across multiple lines for publication purposes.)

WMIC also runs in noninteractive mode. This mode is especially useful when you need to complete a single task or you need to run WMIC commands in a batch file. To run a command in noninteractive mode, you start WMIC and run the command in the same line of code. For example, you can open a command prompt and type

wmic /node:SERVER1 printer list status

to check the status of printers attached to SERVER1. In this example, WMIC starts, uses the /node switch to establish a remote connection to SERVER1, and runs a command to display printer status information. After the command runs and displays results, the command prompt reappears.

You can remotely access any WMI-enabled computer from any computer running WMIC. The computer you want to access doesn't require WMIC. For example, you can start WMIC from a computer running XP Professional Edition to manage a mix of computers running XP, Win2K, Windows NT 4.0, Windows Me, and Windows 9x.


WMIC Command-Line Components

WMIC uses global switches, aliases, verbs, commands, and command-line help to empower the interface. Global switches are settings that apply to and for the entire WMIC session. For example, the /trace:on switch enables error tracing. While this switch is on, WMIC returns error information for every command you execute. The /node switch lets you access a remote computer. The /interactive:on switch ensures that WMIC prompts you for confirmation before performing delete operations. Other global switches include /role, /user, /implevel, and /namespace.


Reference link

http://msdn.microsoft.com/en-us/library/Aa394572

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

http://support.microsoft.com/servicedesks/webcasts/wc072402/listofsampleusage.asp

http://ss64.com/nt/wmic.html




Wednesday, June 2, 2010

Find PC or Laptop Serial Number with DOS Command


Many times I have heard about the problem, that people have the Laptop/Desktop from the manufactures like DELL, IBM, etc. and they come with serial number or service tag and model name. If they ever loose this information then how can get to know about it.

Way 1, is to find from the box. Way 2 is the sticker on your PC/Laptop. and Way 3 to know from DOS. Yes, from DOS.

Here is the simple way to find serial number using DOS Command.


To retrieve serial number of the computer run the following command

c:\> wmic bios get serialnumber


To retrieve model name of the computer run the following command

c:\>wmic csproduct get name


So Net time you don't have to worry about finding SR#..... enjoy.



Tuesday, June 1, 2010

Office 2010 - A Closer Look


Office 2010 can help you to get things done, smoother then ever.





In new version of Office 2010, there are manay features available that can be used in cross applications.

Some of the best features that can be find in application are:
  • Edit Pictures with New and Improved functionality
  • Give artistic effects to contents, that was just possible with Word Art only in earlier versions.
  • Preview the formating before you apply
  • New feature to insert screenshot in your open windows directly from Office
  • Co-Authoring is the new features (Edit document at the same time working with other people i.e. multi-editing function)
  • Now you can insert videos from website and also you can trim videos
  • With the help of new web apps you can now use office tools on internet browser. With some of the same formatting and editing tools that you know in office client installed in your PC
  • Many more...

Ethical Hacking

Something that I want to share about Ethical Hacking.

Introduction to Ethical Hacking.


  • It is a part of your ongoing security Architecture.
  • It is an art and science of determining the vulnerabilities of your information infrastructure to better defend, used to determine the weaknesses in your network BEFORE the real hackers do!
  • It is been performed by highly skilled, ETHICAL security professionals (We also know them as White Collared Hackers), uses the same techniques and tools to find the weaknesses and mitigate them or defend against them.

Types of Ethical Hacking

  • White Box: You have FULL knowledge of the network
  • Black Box: You have NO knowledge of the infrastructure
  • Gray Box: You have some knowledge of the network

Assessment Testing:
  • Vulnerability Assessment, using an automated tool to identify weaknesses or vulnerabilities in a network
  • Penetration testing, Comprehensive review of vulnerabilities, how to exploit them, how network reacts to them

some more details will be added soon....


Monday, May 31, 2010

What is 3G Technology?

About 3G

Based on the International Telecommunications Union standards, the 3G network is the 3rd generation of mobile networking and telecommunications. It features a wider range of services and advances network capacity over the previous 2nd generation network. The 3G network increases the rate of information transfer known as spectral efficiency. Telephony has received a wider area and more range, while video and broadband wireless data transfers have also been positively affected. These criteria are identified as the IMT-2000 standard.


Japan and South Korea were the first countries to successfully launch this network. The Japanese company FOMA launched in May 2001 and South Korea's SK Telecom launched in January 2002. British Telecom in the United Kingdom and Monet Mobile Networks in the United States followed suit.

Now most of the countries had started implementation of this technology....


Some of the Advantages of 3G services are

1. Faster data connectivity (Picture Messaging, download stuffs faster, Watcing TV on mobile, Surfing, online gaming, and lots more)
2. Uninterrupted video streaming on phones.
3. Video calls and big MMS.
4. Data intensive applications.


While 3G packet based networks will allow users to be online all the time....

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Recently in India there was an Auction for the 3G Service and bids end for pan-India licence touching Rs 16,751 crore which ensures the Government of India a revenue of Rs 67,719 crore. :)

The List of 3G Winners
Private Operators

Delhi & NCR: Vodafone, Bharti, Reliance Communications at Rs 3316.93 cr

Mumbai: Reliance, Vodafone, Bharti Airtel at Rs.3247.07 cr

Maharashtra & Goa: Tata Com, Idea cellular, Vodafone at Rs.1257.82 cr

Gujarat: Tata Com, Vodafone, Idea at Rs.1076.06 cr

Andhra Pradesh: Bharti Airtel, Idea, Aircel at Rs.1373.14 cr

Karnataka: Tata Telecommunication, Aircel, Bharti at Rs.1579.91 cr

Tamil Nadu: Bharti, Vodafone, Aircel at Rs.1464.94 cr

Kolkata: Vodafone, Aircel, Reliance Communications at Rs.544.26 cr

Kerela: Idea cellular, Tata Telecommunications, Aircel at Rs.312.48 cr

Punjab: Idea Cellular, Reliance Communications, Tata Telecommunications, Aircel at Rs.322.01 cr

Haryana: Idea Cellular, Tata Telecommunications, Vodafone at Rs. 222.58 cr

Madhya Pradesh & Chattishgarh: Idea Cellular, Reliance Communications, Tata Telecommunications at Rs.258.4 cr

Rajasthan: Reliance Communications, Bharti, Tata Telecommunications at Rs.321 cr

U.P. (West): Bharti, Idea Cellular, Tata Telecommunications at Rs. 514 cr

U.P (East): Aircel, Idea Cellular, Vodafone at Rs.364.6 cr

West Bengal:Bharti,Reliance Telecom,Vodafone, Aircel at Rs.123.36 cr

Himachal Pradesh :Bharti, Stel, Idea cellular, Reliance at Rs.37.23 cr.

Bihar & Jharkhand : Stel, Bharti, Reliance, Aircel at Rs.203.46 cr

Orissa : Stel, Aircel,Reliance at Rs.96.98 cr

Assam: Reliance, Bharti, Aircel at Rs.41.48 cr

North East: Aircel, Bharti, Reliance at Rs.42.30 cr

Jammu & Kashmir : Idea, Aircel, Bharti, Reliance at Rs.30.30 cr


Let's C what we have in next few years....





List of some Mobile phone in India

Mobile Phones available in India

1. Nokia
2. Sony Ericsson
3. Samsung
4. Motorola
5. Spice Telecom
6. LG
7. Siemens
8. Fly
9. Huawei
10. Intex
11. Kycon
12. Usha-Lexus
13. Philips
14. Haier
15. Zte
16. Sansui
17. Gee Pee
18. Olive
19. Lava
20. Xcite
21. BPL
22. Orpat
23. Maxx
24. Magicon
25. Karbonn mobiles - dual SIM phones
26. PAXMA mobiles
27. MicroMax
28. Rage
29. Voice
30. Lemon
31. Airphone
32. Byond tech
33. etouch
34. Onida
35. Movil
36. Win
37. Videocon
38. Hansum Mobiles
39. BUMBUM
40. LOGITEC
41. QUANTUM
42. TECHNOTECH
43. Fortune
44. Simoco
45. Melbon
46. Lexus
47. Lon
48. Bleu
49. Pagaria
50. Ray
51. Daya
52. Sagem
53. GFone




Mobile Phone Service Providers

1. Aircel

2. Airtel

3. BSNL

4. MTNL

5. Idea Cellular

6. Ping Mobile

7. Tata Indicom

8. Tata DoCoMo

9. Reliance Communications

10. Loop Mobile India (Formerly BPL Mobile)

11. Etisalat DB Telecom (formerly SWAN Telecom)

12. Virgin Mobile

13. Vodafone Essar (Formerly Hutchison Essar/Hutch Orange/Hutch Pink)

14. Videocon Telecommunications (Formerly Datacom Solutions)

15. Uninor

16. MTS India

17. S Tel

18. Virgin Mobile GSM

19. Spice Telecom

Friday, October 2, 2009

New features in Office 2010

Ribbon


Office 2010 the Ribbon to all the Office programs, including Outlook and OneNote. New thing is, now you have control over your Ribbon, what items appear on its tabs and you can even add tabs of your own. Put your favorite commands on there.



















Outlook improvement

  • New Ignore button : Makes it easy to bypass entire conversation threads.
  • New Quick Steps section : Lets you perform multi-step tasks with one click.
  • Actions: You can perform more actions on a conversational thread, including clean up.

Easier screen shots

Inserting screen shots into Word is easier than ever.

If you’re a tech writer, you’ll appreciate a new feature in Word 2010 — the ability to capture screen shots from inside the application and paste them into the document, all in a couple of clicks. The Screen shot button has been added to the Insert tab of the Ribbon.

When you click the Screen shot button, you’ll see the available screen shots, and you can click on the one you want to insert into the document. After you insert a screen shot, the picture tools will automatically appear to allow you to perform photo editing.

Excel sparklines and slicers

The most notable additions to Excel 2010 are two new features called sparklines and slicers. Sparklines are tiny charts that fit into a cell, as shown in Figure.

Sparklines are charts that fit into a cell on an Excel spreadsheet.

The sparklines shown in the figure use the line format, but you can also create column or win/loss sparklines. You can edit the design of the sparklines.

You can edit the design of your sparklines.

Slicers are objects you can use to filter the data in pivot tables, which you can move around or resize on the screen. When data in the pivot table changes, the slicer is automatically updated. Both sparklines and slicers are created via the Insert tab on the Ribbon.

You create sparklines and slicers via the Insert tab on the Ribbon.

To see a demo of the new Excel features, check out the video at http://www.microsoft.com/office/2010


Simultaneous editing

Here is another one of my favorite. Often we leave a document that we are working on one computer, and then need to open and work on it from a different computer. we get the familiar “file in use” dialog box that gives us the option to open a read-only copy, create a local copy to merge later, or receive notification when the original is available. Office 2010 does away with that annoyance.

Now we can pick up where we left off, or two people can edit a document simultaneously. A notification in the status bar tells you who else is currently editing the document, and where they’re making changes. Very cool!

Word can also cache shared documents so we can edit them when we are offline, and any changes we make will automatically be synchronized with the original on the server when we come back online. Now we don’t have to remember to merge document when we get back.