Condividi tramite


Browstat Syntax

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

BrowStat Syntax

Browstat uses the following general syntax:

Art ImagebrowstatOperation [Options]

To view the command syntax, click an operation.

Browstat dumpnet

Browstat elect

Browstat getblist

Browstat getmaster

Browstat getpdc

Browstat listwfw

Browstat stats

Browstat status

Browstat tickle

Browstat view

Browstat dumpnet

Displays the list of transports bound to browser.

Syntax

Art Imagebrowstatdumpnet

Sample Usage

browstat dumpnet

Browstat elect

Forces election on a specified domain.

Syntax

Art ImagebrowstatelectTransportDomain [/help]

Parameters

  • Transport
    Enter a network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Enter the domain in which the election will be forced.

Browstat getblist

Gets backup list for domain.

Syntax

Art ImagebrowstatgetblistTransport [[Domainrefresh] [/help]

Parameters

  • Transport
    Enter a network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Enter the name of the domain for which the backup list will be displayed.
  • refresh
    Generates an updated browser for a segment.

Browstat getmaster

Displays the Master Browser name (using NetBIOS) for a specified domain.

Syntax

Art ImagebrowstatgetmasterTransportDomain

Parameters

  • Transport
    Enter a network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Enter the name of the domain for which the Master Browser name will be displayed.

Browstat getpdc

Displays the PDC name (using NetBIOS)for a specified domain.

Syntax

Art ImagebrowstatgetpdcTransportDomain

Parameters

  • Transport
    Enter a network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Enter the domain for which the PDC name is retrieved.

Browstat listwfw

Lists Windows for Workgroups computers that are acting as a browser.

Syntax

Art ImagebrowstatlistwfwDomain

Parameters

  • Domain
    Enter the domain to which the Windows for Workgroups browser belong.

Browstat stats

Displays browser statistics.

Syntax

Art Imagebrowstatstats [**\\**Computer [reset]]

Parameters

  • ****\\Computer
    Enter the name of the browser from which statistics are retrieved.
  • reset
    Resets the statistics to zero.

Examples

See Browstat Examples.

Browstat status

Displays status about a domain.

Syntax

Art Imagebrowstatstatus [-v] [Domain]

Parameters

  • -v
    Displays a detailed output.
  • Domain
    Enter the domain to query.

Examples

See Browstat Examples.

Browstat tickle

Forces the master browser to stop.

Syntax

Art ImagebrowstattickleTransport {Domain|**\\**Server} [EmulatedDomain]

Parameters

  • Transport
    Enter a network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Enter the name of the domain to query.
  • ****\\Server
    Enter the name of the server that receives the query.
  • EmulatedDomain
    Enter an alternate domain the specified server should use when announcing its presence.

Browstat view

Lists the browsers and their browser roles for a server or domain.

Syntax

Art ImagebrowstatviewTransport [Domain|\\Server [Flags|/domain [DomainToQuery]]]

Parameters

  • Transport
    Enter the network device name (case-insensitive) for a transport in one of the following formats:
    • \device\Transport_{MAC address} (for example, \device\Nbf_{elnk1601})

    • **\**Transport_{MAC address}

    • Transport

  • Domain
    Specifies the domain to query.
  • ****\\Server
    Specifies the server that will receive the query.
  • Flags
    Filters the list to show certain browser or server roles.

    Flag Description

    AFP

    AFP server

    BBR

    Backup browser

    BDC

    Backup domain controller

    DFS

    Distributed file system

    DL

    Dial-in server

    DMB

    Domain master browser

    MBR

    Master browser

    MDC

    Member domain controller

    MFPN

    Microsoft File and Print for NetWare

    NT

    Windows NT

    NV

    Novell

    OSF

    OSF server

    PBR

    Potential browser

    PDC

    Primary domain controller

    PQ

    Print server

    S

    Server

    SQL

    SQL server

    SS

    Windows NT member server

    TS

    Time source

    VMS

    Vax VMS Server

    W

    Workstation

    W95

    Windows 95

    WFW

    Windows for Workgroups

    XN

    Xenix

  • /domain [DomainToQuery]
    Passes the 0x80000000 flag to the query.
  • DomainToQuery
    Enter name of the domain to query.

See Also

Concepts

Browstat Overview
Browstat Remarks
Browstat Examples
Alphabetical List of Tools
Spcheck Overview
Nltest Overview
Netdom Overview
Netdiag Overview
Netcap Overview
Httpcfg Overview
Dnslint Overview
Dnscmd Overview
Dhcploc Overview
Dcdiag Overview