Skip to content

Remove-PodeFavicon

SYNOPSIS

Removes the favicon from one or more Pode endpoints.

SYNTAX

Remove-PodeFavicon [[-EndpointName] <String>] [-DefaultEndpoint]

DESCRIPTION

This function clears the favicon from a specified endpoint, or from all endpoints if no name is provided. It safely checks that the endpoint(s) exist and have a favicon assigned before removing. You can also limit the removal to endpoints marked as default.

EXAMPLES

EXAMPLE 1

Remove-PodeFavicon

Removes the favicon from all endpoints.

EXAMPLE 2

Remove-PodeFavicon -EndpointName 'api'

Removes the favicon from the 'api' endpoint.

EXAMPLE 3

Remove-PodeFavicon -DefaultEndpoint

Removes favicons only from endpoints marked as default.

PARAMETERS

-DefaultEndpoint

If supplied, only endpoints created with `-Default` will be affected.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-EndpointName

The name of a specific endpoint to remove the favicon from. If not specified, all endpoints are affected.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

None

NOTES