- Connect to the configuration web service.
- Specify the unique identifier of the item for which the security descriptor is to be replaced.
- The user must be a system administrator to execute this command.
# Set the item identifier of the item for which the security descriptor is to be replaced.
$itemID = 37423;
# Set the name of the user or group account to take ownership of the item.
$accountName = "CENTREL-WS01\Managers";
# Replaces the ownership of the specified item.