Jump to content

command line network discovery


voice

Recommended Posts


I wish I knew a site that listed all the service names to use with Net Start.

How about MSFN then? Powershell to the rescue:

Get-Service

will list everything (status, name, full name, etc), or if you just want the "short" names:

Get-Service | Select Name

which on this box returns (I removed some of the obvious 3rd party ones but there may be some extras left -- running Win 7 x64):

AeLookupSvc

ALG

AppHostSvc

AppIDSvc

Appinfo

AppMgmt

aspnet_state

astcc

AudioEndpointBuilder

AudioSrv

AxInstSV

BDESVC

BFE

BITS

Browser

bthserv

CertPropSvc

clr_optimization_v2.0.50727_32

clr_optimization_v2.0.50727_64

clr_optimization_v4.0.30319_32

clr_optimization_v4.0.30319_64

COMSysApp

CoordinatorServiceHost

CryptSvc

CscService

DcomLaunch

defragsvc

Dhcp

Dnscache

dot3svc

DPS

EapHost

EFS

ehRecvr

ehSched

eventlog

EventSystem

Fax

fdPHost

FDResPub

FontCache

FontCache3.0.0.0

gpsvc

hidserv

hkmsvc

HomeGroupProvider

IAStorDataMgrSvc

idsvc

IKEEXT

IPBusEnum

iphlpsvc

KeyIso

KtmRm

LanmanServer

LanmanWorkstation

lltdsvc

lmhosts

Mcx2Svc

MMCSS

MpsSvc

MSDTC

MSiSCSI

msiserver

MSMQ

MSSQL$SQLEXPRESS

MSSQLServerADHelper100

napagent

Netlogon

Netman

NetMsmqActivator

NetPipeActivator

netprofm

NetTcpActivator

NetTcpPortSharing

NlaSvc

nsi

ose

osppsvc

p2pimsvc

p2psvc

PcaSvc

PeerDistSvc

PerfHost

pla

PlugPlay

PNRPAutoReg

PNRPsvc

PolicyAgent

Power

ProfSvc

ProtectedStorage

QWAVE

RasAuto

RasMan

RemoteAccess

RemoteRegistry

rpcapd

RpcEptMapper

RpcLocator

RpcSs

SamSs

SCardSvr

Schedule

SCPolicySvc

SDRSVC

seclogon

SENS

SensrSvc

SessionEnv

SharedAccess

ShellHWDetection

SNMPTRAP

Spooler

sppsvc

sppuinotify

SQLAgent$SQLEXPRESS

SQLBrowser

SQLWriter

SSDPSRV

SstpSvc

stisvc

SwitchBoard

swprv

SysMain

TabletInputService

TabletServiceWacom

TapiSrv

TBS

TermService

Themes

THREADORDER

TrkWks

TrustedInstaller

UI0Detect

UmRdpService

upnphost

UxSms

VaultSvc

vds

VSS

W32Time

W3SVC

WAS

WatAdminSvc

wbengine

WbioSrvc

wcncsvc

WcsPlugInService

WdiServiceHost

WdiSystemHost

WebClient

Wecsvc

wercplsupport

WerSvc

WinDefend

WinHttpAutoProxySvc

Winmgmt

WinRM

Wlansvc

wlidsvc

wmiApSrv

WMPNetworkSvc

WPCSvc

WPDBusEnum

wscsvc

WSearch

wuauserv

wudfsvc

WwanSvc

Then again, you can display other properties of your choice. To see what else there is, try:

Get-Service | Get-Member 

then it's only a matter of comma separating them e.g.

Get-Service | Select Name, DisplayName 

Powershell is great for things like that, and it's not too hard to learn either :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...