create_computer
Creates a new Active Directory computer object with specified attributes, DNS hostname, and service principal names, enabling the account for domain use. Fails if the computer name already exists.
Instructions
Create a new computer object in Active Directory.
Creates computer account with appropriate attributes and service principal names. Configures DNS hostname and enables account.
Example:
create_computer(computer_name="NEW-DESKTOP", description="Marketing workstation")
Fails if a computer with that name already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ou | No | Organizational Unit DN to create computer in | |
| description | No | Computer description | |
| dns_hostname | No | DNS hostname | |
| computer_name | Yes | Computer name (without $ suffix) | |
| additional_attributes | No | Additional attributes to set |