PackageDeployment Module Help

Package Deployment Module

Install-TTF Cmdlet

Version 3.1.0.0

Install-TTF

Synopsis

Installing TrueType fonts

Syntax

Install-TTF [-Path] <string> [[-Context] <string>] [-CreateBackup] [-ContinueOnError] [<CommonParameters>]

Description

Installs Windows fonts in the machine or user context. Supported file types are .ttf and .otf.

Parameters

-Path <String>

Path to the font files.

Required

True

Position

1

Accepts pipeline input

False

-CreateBackup <SwitchParameter>

If given, backups of already installed fonts are created before they are replaced.

Required

False

Position

named

Accepts pipeline input

False

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

2

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".