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_computersreturns a Tcl list of the Active Directory names of all zone computer profiles in the current zone.list_zone_computerslists tostdoutall zone computer profiles in the current zone.new_zone_computercreates a new zone computer profile and stores it in memory.select_zone_computerretrieves 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:
get_zone_computer_fieldreads a field value from the currently selected zone computer profile.set_zone_computer_fieldsets a field value in the currently selected zone computer profile.save_zone_computersaves the selected zone computer profile with its current settings to Active Directory.