Skip to content

Get-Font

SYNOPSIS

Retrieves the installed fonts.

SYNTAX

Get-Font [[-Name] <String[]>] [[-Scope] <Scope[]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Retrieves the installed fonts.

EXAMPLES

EXAMPLE 1

Get-Font

Gets all the fonts installed for the current user.

EXAMPLE 2

Get-Font -Name 'Arial*'

Gets all the fonts installed for the current user that start with 'Arial'.

EXAMPLE 3

Get-Font -Scope 'AllUsers'

Gets all the fonts installed for all users.

EXAMPLE 4

Get-Font -Name 'Calibri' -Scope 'AllUsers'

Gets the font with the name 'Calibri' for all users.

PARAMETERS

-Name

Specifies the name of the font to get.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-Scope

Specifies the scope of the font(s) to get.

Type: Scope[]
Parameter Sets: (All)
Aliases:
Accepted values: CurrentUser, AllUsers

Required: False
Position: 2
Default value: CurrentUser
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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

OUTPUTS

[System.Collections.Generic.List[PSCustomObject]]

NOTES