directoryservice_create_computer: Creates a computer account in the specified directory, and...

Description Usage Arguments Request syntax

View source: R/directoryservice_operations.R

Description

Creates a computer account in the specified directory, and joins the computer to the directory.

Usage

1
2
directoryservice_create_computer(DirectoryId, ComputerName, Password,
  OrganizationalUnitDistinguishedName, ComputerAttributes)

Arguments

DirectoryId

[required] The identifier of the directory in which to create the computer account.

ComputerName

[required] The name of the computer account.

Password

[required] A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter.

OrganizationalUnitDistinguishedName

The fully-qualified distinguished name of the organizational unit to place the computer account in.

ComputerAttributes

An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$create_computer(
  DirectoryId = "string",
  ComputerName = "string",
  Password = "string",
  OrganizationalUnitDistinguishedName = "string",
  ComputerAttributes = list(
    list(
      Name = "string",
      Value = "string"
    )
  )
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.