ConvertFrom-HtmlEntity

August 3, 2026 ยท View on GitHub

SYNOPSIS

Decodes HTML entities in text.

SYNTAX

__AllParameterSets

ConvertFrom-HtmlEntity [-Text] <string> [<CommonParameters>]

DESCRIPTION

Decodes HTML entities in text.

EXAMPLES

EXAMPLE 1

ConvertFrom-HtmlEntity -Text 'A&amp;B'

PARAMETERS

-Text

Text containing HTML entities to decode.

Type: String
Parameter Sets: __AllParameterSets
Aliases: Content, InputObject
Possible values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue, ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • System.String

OUTPUTS

  • System.String
  • None