Remove-TpmsDriverArchive

46 views 0

Description

Removes a specific printer driver from the driver repository. See also Import-TpmsDriverArchive and Find-TpmsDriverArchive.

Syntax

Remove-TpmsDriverArchive [-DriverName <string>] [-Architectures <architecture>] [-ForOs <string>]

Remove-TpmsDriverArchive -Archives <DriverArchiveResult>
Parameter Description
-DriverName name of the printer driver to be removed
-Architectures printer driver’s processor architecture:

X86 | X64 | IA64

-ForOs Windows version

example: -ForOs “6.2…” for Windows version 6.2 and later

-Archives variable for alternative parameter definition which contains the settings for -DriverName, -Architectures and/or -ForOS

Example 1: cmdlet usage

The following example removes the driver Canon Generic PCL6 Driver from the repository. Here, the driver name is entered manually using the parameter -DriverName.

Remove-TpmsDriverArchive -DriverName "Canon Generic PCL6 Driver"

removing the driver Canon Generic PCL6 Driver from the repository manually

Example 2: cmdlet usage

The following example searches for the driver Canon Generic PCL6 Driver in the driver repository and then removes it from the repository using the parameter -Archives.

$canon = Find-TpmsDriverArchive -DriverName "Canon Generic PCL6 Driver"

Remove-TpmsDriverArchive -Archives ($canon)

removing the driver Canon Generic PCL6 Driver from the repository using the variable $canon

Previous Page
Next Page

Was this helpful?