Removes a custom property definition from the VMM database.
Description
The Remove-SCCustomProperty cmdlet removes a custom property definition from the System Center Virtual Machine Manager (VMM) database.
For more information about Remove-SCCustomProperty, type: "Get-Help Remove-SCCustomProperty -online".
Parameters
CustomProperty
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a custom property object.
Confirm
Required?
false
Accept Pipeline Input?
false
Position?
named
Prompts for confirmation before running the command.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
Requires a VMM custom property object, which can be retrieved by usiong the Get-SCCustomProperty cmdlet.
The first command gets the custom property object named Cost Center and stores the object in the $CustomProp variable.
The second command removes the custom property object stored in $CustomProp.