Name

gettypeRK

Synopsis

gettype [\\server] [/S]

Set %ErrorLevel% to a value indicating the operating system running on the local /specified system [1=Windows NT Workstation, 2=Windows 2000 Professional, 3=Windows NT Server (non-DC), 4=Windows 2000 Server (non-DC), 5=Windows NT domain controller, 6=Windows 2000 DC, 7=Windows NT Enterprise/Terminal Server (non-DC), 8=Windows NT Enterprise/Terminal Server (DC)].

/S suppresses command output.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.