Friday, November 21, 2014

My 1st day class server 2012 basic commands

                                                             questions and answers

1. how to see your system name and operating system version through command ?

Ans: type the winvar command in command prompt .

2. how to restart the  server machine  through command ?

Ans: shutdown  -r -t 00  (00 is the time for restart)
3. how to shutdown the  server machine through command ?

Ans: shutdown -s -t 00

4. how to give the ip address to the nic card through command ?

Ans: netsh interface ip set address name="local area connection" static ip and subnet mask and             default gateway

5. how to configure static DNS ip address to the network card through                        command ?

Ans: netsh interface ip set dns name="local area connection"static ip of dns server 

6.how to give alternate ip address to the network card through                        command ?

Ans: netsh interface ip add dns name="local area connection" ip address  index=2


7.how to disable the network card through command ?

Ans: netsh interface name="local area connection" admin=disable

8.how to enable the network card through command ?

Ans: netsh interface name="local area connection" admin=enable

9.how to create a local user through command ?

Ans: net user name password /add 

10.how to check how many users are there in your pc  through command ?
Ans: net user

11.how to delete local user through command ?

Ans:net user username /del

11.how to open your network connections through command ?

Ans: open run prompt type : ncpa.cpl press enter

12.how to open your system properties  through command ?

Ans: open run prompt type : sysdm.cpl press enter

13.how to open control panel   through command ?

Ans: open run prompt type : control press enter

14.how to open local user and groups through command ?

Ans: open run prompt type : usermgr.msc press enter

15.how to check computer configuration  through command ?

Ans:open run prompt type : msinfo32 or dxdiag press enter

16.how to open add or remove programs  through command ?

Ans: open run prompt type : appwiz.cpl  press enter

17.how to open disk management through command ?

Ans: open run prompt type : diskmgmt.msc  press enter

18.how to open service console  through command ?

Ans: open run prompt type : services.msc press enter

19.how to open event viewer through command ?

Ans: open run prompt type : eventvwr.msc press enter

1 comment: