Common SysAdmin commands

Get Network Dump:

netsh dump > c:\temp\natcfg2.dmp

Run remote commands:

PsExec.exe \\CompName ipconfig /all

PsExec.exe \\CompName regedit /s *.reg

Get CompName by IP:

nbtstat -a CompName

Service operations:

sc query
sc start ServiceName
sc delete ServiceName

Process operations:

TASKKILL /S \\CompName /FI “IMAGENAME eq ProcessName
tasklist /V /FI “ProcessName

Almost all computers, connected to Internet automatically saves host names for all sites, which you looked through, for faster opening that pages in future. But sometimes we need to clear that list using:

ipconfig /flushdns


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s