Open navigation

Remove-TpmsDriverArchive

Description

Syntax

Example 1: cmdlet usage

Example 2: cmdlet usage



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>
ParameterDescription
-DriverNamename 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

-Archivesvariable 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"

ThinPrint Management Services: 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)

ThinPrint Management Services: removing the driver Canon Generic PCL6 Driver from the repository using the variable $canon


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.