Remove-CustomAttribute
This cmdlet removes custom attributes.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
CustomAttribute[] | named |
|
Specifies the custom attributes you want to remove. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
Output
Examples
Example 1
Remove-CustomAttribute -CustomAttribute "CompanyID", "Owner" -Server $agent007
Removes the CompanyID and Owner custom attributes from the server stored in the $agent007 variable.
Related Commands
CustomAttribute
This cmdlet retrieves custom attributes.
This cmdlet renames a custom attribute.
This cmdlet removes custom attributes.
This cmdlet creates a new custom attribute.