Remove-TagAssignment

This cmdlet removes the specified tag assignment. The cmdlet removes the assignment of the tag in TagAssignment.Tag from the entity in TagAssignment.Entity.

Syntax

-TagAssignment  <TagAssignment[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
TagAssignment
TagAssignment[] named
  • pipeline
  • Specifies the assigned tags to be removed.

    Output

    Examples


    Example 1

    $myVM = Get-VM myvm
    $myTagAssignment = Get-TagAssignment $myVM
    Remove-TagAssignment $myTagAssignment

    Removes all connections to tags from the specified virtual machine entity.

    Related Commands

    Feedback

    Was this page helpful?