Remove-CustomAttribute Command | Vmware PowerCLI Reference

Remove-CustomAttribute

This cmdlet removes custom attributes.

Syntax

Remove-CustomAttribute
-CustomAttribute < CustomAttribute[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CustomAttribute CustomAttribute[] named
  • pipeline
  • wildcards
Specifies the custom attributes you want to remove.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
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 creates a new custom attribute.

This cmdlet removes custom attributes.

This cmdlet renames a custom attribute.