importComputer

You can use the importComputer web method to import a specified computer to the defined site and create a discovery record at the central.

Parameters

The importComputer web method includes the following parameters:

importComputer Parameters

#

Parameters

Data Type

Description

1.  

MachineName

String

Computer name of the new machine

2.  

SiteCode

String

The SCCM Site code where the record will be created.

3.  

Subnet

String

The subnet address for the new computer.

4.  

ADSite

String

The Active Directory Site code.

5.  

MACAddress

String

The MAC Address of the computer.

6.  

SMBios

String

The SMBIOS ID of the computer.

7.  

ComputerToAssociate

String

The old computer name to associate with the newly created one.

Return Value

Returns one of the following values:

Returns a 1 for success
Returns a 0 for error