Install-GoogleFont¶
SYNOPSIS¶
Installs Google Fonts to the system.
SYNTAX¶
ByName (Default)¶
Install-GoogleFont -Name <String[]> [-Scope <String>] [-Force] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
All¶
Install-GoogleFont [-All] [-Scope <String>] [-Force] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION¶
Installs Google Fonts to the system.
EXAMPLES¶
EXAMPLE 1¶
Install-GoogleFont -Name 'Roboto'
Installs the font 'Roboto' to the current user.
EXAMPLE 2¶
Install-GoogleFont -Name Zen*
Installs all fonts that match the pattern 'Zen*' to the current user.
EXAMPLE 3¶
Install-GoogleFont -Name 'Roboto' -Scope AllUsers
Installs the font 'Roboto' to all users. This requires to be run as administrator.
EXAMPLE 4¶
Install-GoogleFont -All
Installs all Google Fonts to the current user.
PARAMETERS¶
-Name¶
Specify the name of the GoogleFont(s) to install.
Type: String[]
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True
-All¶
Specify to install all GoogleFont(s).
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Scope¶
Specify the scope of where to install the font(s).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: CurrentUser
Accept pipeline input: False
Accept wildcard characters: False
-Force¶
Force will overwrite existing fonts
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf¶
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm¶
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.