Create Item
Typically new items are created automatically by the XIA Configuration Client, however it is also possible to manually create new items.
- Connect to the configuration web service.
- Specify the name of the item to create.
- Specify the type of item to create.
- Specify the identifier of the container or customer in which to create the item.
- The user must have write permissions to the container or customer in which the item is being created.
Code Sample
# Create the new item.
$itemID = $xia.DO_CreateItem("DEMO-PC01", "WindowsPC", 1000);
Write-Host "Created item $($itemID)";