When performing actions such as creating items it is necessary to supply the item type, the following code displays how to determine the valid item types supported by the system.




Code Sample


# Get the valid item types.

$itemTypes = $xia.GET_ValidItemTypes();

foreach ($itemType in $itemTypes)

{

    Write-Host $itemType;

}