delete_zone_computer

Use the delete_zone_computer command to delete the currently selected zone computer profile from Active Directory and from memory. After you run this command, you cannot run subsequent ADEdit commands for zone computer profiles because there will be no currently selected zone computer profile available in memory. This command only deletes the zone profile for the computer. It does not delete the Active Directory computer account.

Zone type

Classic and hierarchical

Syntax

delete_zone_computer [-all]

Abbreviation

dlzc

Options

This command takes the following option:

Option Description

-all

Removes the corresponding computer-specific zone profile if the selected computer is a computer-specific override zone.

Arguments

This command takes no arguments.

Return value

This command returns nothing if it runs successfully.

Examples

delete_zone_computer

This example deletes the currently selected zone computer profile from Active Directory and from memory.

Related commands

Before you use this command, you must have a currently selected zone computer profile stored in memory. The following commands enable you to view and select the zone computer profile to work with:

  • get_zone_computers returns a Tcl list of the Active Directory names of all zone computer profiles in the current zone.
  • list_zone_computers lists to stdout all zone computer profiles in the current zone.
  • new_zone_computer creates a new zone computer profile and stores it in memory.
  • select_zone_computer retrieves a zone computer profile from Active Directory and stores it in memory.

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