new_zone_computer

Use the new_zone_computer command to create a new zone computer in the current zone and set the new zone computer as the currently selected zone computer in memory. The new zone computer has no field values set.

The new_zone_computer command does not save the new zone computer to Active Directory. To save the new zone computer, you must use save_zone_computer. If you don’t save a new zone computer, it will disappear when you select another zone computer or when the ADEdit session ends.

The new_zone_computer command requires you to specify an Active Directory computer account name. If the computer name you specify is not found in Active Directory, the command does not create the zone computer.

Zone type

Classic and hierarchical

Syntax

new_zone_computer sAMAccountName@domain

Abbreviation

newzc

Options

This command takes no options.

Arguments

This command takes the following argument:

Argument Type Description

sAMAccountName @domain

string

Required. Specifies the sAMAccountName of an Active Directory computer followed by @ and the domain name where the computer is located.

Return value

This command returns nothing if it runs successfully.

Examples

new_zone_computer sales2$@acme.com

This example creates a new zone computer sales2@acme.com in the current zone. Note that Tcl syntax requires “$@” to represent a literal “@”. You could also enclose the argument in braces: {sales2@acme.com}.

Related commands

Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and manage the zone computers:

After you have a zone computer stored in memory, you can use the following commands to work with that zone computer: