C:\WINDOWS>GETMAC /?
GETMAC
[/S system
[/U username
[/P
[password
]]]] [/FO format
] [/NH
] [/V
]Description:
This command line tool enables an administrator to display the MAC
address for one or more network adapters on a system.
Parameter List:
/S system Specifies the remote system to connect to.
/U
[domain\
]user Specifies the user context under
which the command should execute.
/P
[password
] Specifies the password for the given
user context. Prompts for input if omitted.
/FO format Specifies the format in which the output
is to be displayed.
Valid values: "TABLE", "LIST", "CSV".
/V Specifies that the detailed information
should be displayed in the output.
/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for TABLE and CSV formats.
/? Displays this help/usage.
Examples:
GETMAC /FO csv
GETMAC /S system /NH /V
GETMAC /S system /U user
GETMAC /S system /U domain\user /P password /FO list /V
GETMAC /S system /U domain\user /P password /FO table /NH
C:\WINDOWS>GPRESULT /?
GPRESULT
[/S system
[/U username
[/P
[password
]]]] [/SCOPE scope
] [/USER targetusername
] [/V | /Z
]Description:
This command line tool displays the Resultant Set of Policy (RSoP)
for a target user and computer.
Parameter List:
/S system Specifies the remote system to connect
to.
/U
[domain\
]user Specifies the user context under which
the command should execute.
/P
[password
] Specifies the password for the given
user context. Prompts for input if omitted.
/USER
[domain\
]user Specifies the user name for which the
RSOP data is to be displayed.
/SCOPE scope Specifies whether the user or the
computer settings needs to be
displayed.
Valid values: "USER", "COMPUTER".
/V Specifies that the verbose information
is to be displayed. Verbose information
details specific settings that have
been applied with a precedence of 1.
/Z Specifies that the super-verbose
information is to be displayed. Super-
verbose information details specific
settings that have been applied with a
precedence of 1 and higher. This allows
you to see if a setting was set in
multiple places. See the Group Policy
online help for more information.
/? Displays this help/usage.
NOTE: If you run GPRESULT without parameters, it returns the RSoP data
for the current logged-on user on the computer it was run on.
Examples:
GPRESULT
GPRESULT /USER targetusername /V
GPRESULT /S system /USER targetusername /SCOPE COMPUTER /Z
GPRESULT /S system /U username /P password /SCOPE USER /V
C:\WINDOWS>GPUPDATE /?
Microsoftr Windowsr Operating System Group Policy Refresh Utility v5.1
c Microsoft Corporation. All rights reserved.
Description: Refreshes Group Policies settings.
Syntax: GPUpdate
[/Target:
[/Force
] [/Wait:<value>
] [/Logoff
] [/Boot
] [/Sync
] Parameters:
Value Description
/Target: Specifies that only User or only Computer
policy settings are refreshed. By default,
both User and Computer policy settings are
refreshed.
/Force Reapplies all policy settings. By default,
only policy settings that have changed are
applied.
/Wait: Sets the number of seconds to wait for policy
processing to finish. The default is 600
seconds. The value '0' means not to wait.
The value '-1' means to wait indefinitely.
When the time limit is exceeded, the command
prompt returns, but policy processing
continues.
/Logoff Causes a logoff after the Group Policy settings
have been refreshed. This is required for
those Group Policy client-side extensions
that do not process policy on a background
refresh cycle but do process policy when a
user logs on. Examples include user-targeted
Software Installation and Folder Redirection.
This option has no effect if there are no
extensions called that require a logoff.
/Boot Causes a reboot after the Group Policy settings
are refreshed. This is required for those
Group Policy client-side extensions that do
not process policy on a background refresh cycle
but do process policy at computer startup.
Examples include computer-targeted Software
Installation. This option has no effect if
there are no extensions called that require
a reboot.
/Sync Causes the next foreground policy application to
be done synchronously. Foreground policy
applications occur at computer boot and user
logon. You can specify this for the user,
computer or both using the /Target parameter.
The /Force and /Wait parameters will be ignored
if specified.