Windows Commands: Command-line Service Controller. Start, Stop and Query services
NETSVC-Windows Command
NETSVC
Command-line Service Controller. Start, Stop and Query services,
but does not cover creating or deleting them.
Although part of the Windows 2000 resource
kit - this command runs fine under NT 4.
Syntax
NETSVC \\server command servicename
Key
server The workstation or server where the service is running
servicename The Name of the service, unlike the SC command this will
accept either the DisplayName or the service name
commands:
/list Lists installed services. Omit servicename with this command.
/query Query the status of a service.
/start Start the specified service.
/stop Stop the specified service.
/pause Pause the specified service.
/continue Restart a paused service.
Arguments can be specified in any order:
NETSVC /query \\Server299 "DHCP Client"
NETSVC "DHCP Client" \\Server299 /query
Other Windows 98, Windows XP Commands:
addusers ,
arp ,
assoc ,
associate ,
at ,
attrib ,
browstat ,
cacls ,
call ,
cd ,
change ,
chkdsk ,
chkntfs ,
choice ,
cipher ,
cleanmgr ,
clip ,
cmd ,
color ,
comp ,
con2prt ,
copy ,
date ,
defrag ,
del ,
delprof ,
dir ,
diruse ,
diskcomp ,
diskcopy ,
doskey ,
dsadd ,
dsmod ,
echo ,
endlocal ,
exit ,
expand ,
expand ,
fc ,
fdisk ,
find ,
findstr ,
for ,
forfiles ,
format ,
fsutil ,
ftp ,
ftype ,
global ,
goto ,
help ,
hfnetchk ,
if ,
ifmember ,
ipconfig ,
kill ,
label ,
ldifde ,
local ,
logevent ,
logoff ,
logtime ,
mapisend ,
md ,
mem ,
mode ,
monitor ,
more ,
mountvol ,
move ,
moveuser ,
msg ,
msiexec ,
msinfo32 ,
mstsc ,
munge ,
mv ,
nbtstat ,
net ,
netdom ,
netsh ,
netstat ,
netsvc ,
now ,
nslookup ,
ntbackup ,
ntrights ,
path ,
pathping ,
pause ,
perms ,
ping ,
popd ,
portqry ,
print ,
prncnfg ,
prnmngr ,
prompt ,
pushd ,
qgrep ,
rasdial ,
rasphone ,
rd ,
rdisk ,
recover ,
reg ,
regedit ,
regsvr32 ,
rem ,
ren ,
replace ,
rmtshare ,
robocopy ,
route ,
runas ,
rundll32 ,
sc ,
schtasks ,
sclist ,
scriptit ,
set ,
setlocal ,
setx ,
share ,
shift ,
shortcut ,
showgrps ,
showmbrs ,
shutdown ,
sleep ,
soon ,
sort ,
start ,
su ,
subinacl ,
subst ,
tasklist ,
time ,
timeout ,
title ,
touch ,
tracert ,
type ,
ver ,
verify ,
vol ,
where ,
whoami ,
windiff ,
winmsd ,
winmsdp ,
wmic ,
xcacls ,
xcopy ,
Live2Support.com :