Home > Commands A-M > Commands G

GLOBAL


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Display membership of global groups on remote servers or remote domains.


Syntax

GLOBAL group_name domain_name | \\server


Parameters
domain_name (NT4)
A network domain.
group_name (NT4)
The global group.
\\server (NT4)
A network server.

Switches

none.


Related

NET GROUP - Manage network resources.
NET LOCALGROUP - Manage network resources.
FINDGRP - Display group memberships of a user.
LOCAL - Display membership of local groups.
GetDC - Get domain controller.
Equivalent Linux BASH commands:
groups - Print group names a user is in.
id - Print user and group id's.
uname - Print system information.


Notes

none.


Examples

Displays the members of the group "Domain Users" in the Scotland domain:

    GLOBAL "Domain Users" Scotland

Displays the members of the group PrintUsers on server 9G_Server:

    GLOBAL PrintUsers \\9G_Server

Errorlevels

none.


Availability
External Resource Kit
DOS
none
Windows
none
Windows NT
NT4