Remove-CustomAttribute

This cmdlet removes custom attributes.

Syntax

-CustomAttribute  <CustomAttribute[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CustomAttribute
CustomAttribute[] named
  • wildcards
  • pipeline
  • Specifies the custom attributes you want to remove.
    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

    Feedback

    Was this page helpful?