1
System Admin Guide A lively blog for Windows and VMware administrators... HOME VMWARE WINDOWS SERVER INTERVIEW QUESTIONS 0 comments: Post a Comment Subscribe To SAG Categories Active Directory Dell EqualLogic DHCP DNS Group Policy Icinga Monitoring Microsoft SQL Server Openfiler Powershell Private VLAN SAN VMDK troubleshooting VMware VMware Conversion VMware DRS VMware Fault Tolerance VMware HA VMware Networking VMware Overview VMware Snapshot VMware troubleshooting VMware vSwitch Windows Windows Backup and Restore Windows Server 2008 Windows troubleshooting Windows VMware Interview questions Popular Posts VMWARE AND WINDOWS INTERVIEW QUESTIONS: PART 1 All the questions in this blog are interview questions that are framed as per the current trend. Special thanks to my colleague Shijimol... VMWARE AND WINDOWS INTERVIEW QUESTIONS: PART 2 This is the second part of the blog ' VMware and Windows Categories: WINDOWS, WINDOWS TROUBLESHOOTING Posted by NITHIN RADHAKRISHNAN 0 comments Useful commands for windows admin To query ntp server of a server Net Time /querysntp To sync time of member servers with domain controller w32tm /resync /nowait To query FSMO roles in an environment netdom query fsmo To query the details of currently logged in users qwinsta server servername To log off a currently logged in user using his session id rwinsta server servername sessionid To query the membership details of a domain user DSQUERY USER samid loginname | DSGET USER memberof expand To query the sharing & security details of a folder showacls To check whether an account is locked out NET USER loginname /DOMAIN | FIND /I "Account active" To unlock a domain user NET USER loginname /DOMAIN /ACTIVE:YES To query members in a domain net view To query the member DCs of a domain NETDOM QUERY DC To collect network statistics pathping ipaddress To query the current running tasks tasklist svc To kill a currently running task using its pid number taskkill pid pidnumber Reactions: funny (0) interesting (0) cool (0) informative (0) Recommend this on Google Posts Comments

Useful Commands for Windows Admin _ System Admin Guide

Embed Size (px)

DESCRIPTION

Useful commands for windows admin

Citation preview

  • 6/8/2015 Usefulcommandsforwindowsadmin|SystemAdminGuide

    http://www.systemadminguide.in/2013/07/usefulcommandsforwindowsadmin.html 1/3

    System Admin GuideAlivelyblogforWindowsandVMwareadministrators...

    HOME VMWARE W INDOWS S E RV ER INT ERV I EW QU E S T IONS

    0 comments:

    Post a Comment

    SubscribeToSAG

    Categories

    Active Directory

    Dell EqualLogic

    DHCP

    DNS

    Group Policy

    Icinga Monitoring

    Microsoft SQL Server

    Openfiler

    Powershell

    Private VLAN

    SAN

    VMDK troubleshooting

    VMware

    VMware Conversion

    VMware DRS

    VMware Fault Tolerance

    VMware HA

    VMware Networking

    VMware Overview

    VMware Snapshot

    VMware troubleshooting

    VMware vSwitch

    Windows

    Windows Backup andRestore

    Windows Server 2008

    Windows troubleshooting

    Windows VMwareInterview questions

    PopularPosts

    VMWARE AND WINDOWS

    INTERVIEW QUESTIONS: PART 1

    All the questions in thisblogare interview questionsthat are framed as per thecurrent trend. Special thanksto my colleague Shijimol...

    VMWARE AND WINDOWS

    INTERVIEW QUESTIONS: PART 2

    This is the second part of theblog ' VMware and Windows

    Categories:WINDOWS,

    WINDOWS

    TROUBLESHOOTING

    PostedbyNITHIN

    RADHAKRISHNAN

    0comments

    Usefulcommands for

    windows admin

    ToqueryntpserverofaserverNetTime/querysntp

    Tosynctimeofmemberserverswithdomaincontrollerw32tm/resync/nowait

    ToqueryFSMOrolesinanenvironmentnetdomqueryfsmo

    Toquerythedetailsofcurrentlyloggedinusersqwinstaserverservername

    Tologoffacurrentlyloggedinuserusinghissessionidrwinstaserverservernamesessionid

    ToquerythemembershipdetailsofadomainuserDSQUERYUSERsamidloginname|DSGETUSERmemberofexpand

    Toquerythesharing&securitydetailsofafoldershowacls

    TocheckwhetheranaccountislockedoutNETUSERloginname/DOMAIN|FIND/I"Accountactive"

    TounlockadomainuserNETUSERloginname/DOMAIN/ACTIVE:YES

    Toquerymembersinadomainnetview

    ToquerythememberDCsofadomainNETDOMQUERYDC

    Tocollectnetworkstatisticspathpingipaddress

    Toquerythecurrentrunningtaskstasklistsvc

    Tokillacurrentlyrunningtaskusingitspidnumber

    taskkillpidpidnumber

    Reactions: funny (0) interesting (0) cool (0) informative (0)

    Recommend this on Google

    Posts

    Comments