Open navigation

ConvertTo-TpmsMigrationScript

Description

Syntax

Example 1: cmdlet usage

Example 2: cmdlet usage

Example 3: script



Description

Converts export files from Microsoft Printbrm or ThinPrint Port Manager to Tpms.Powershell scripts.


Syntax

ConvertTo-TpmsMigrationScript -SourcePath <String> -OutputPath <String> 
ParameterDescription
-SourcePathpath to the export file
-OutputPathpath to the Tpms.Powershell file


Example 1: cmdlet usage

ConvertTo-TpmsMigrationScript -SourcePath c:\temp\W2k3-printers.printerExport -OutputPath c:\temp\printer-migration.ps1

Converts the printer and port information file W2k3-printers.printerExport – exported by Printbrm.exe – to the PowerShell script printer-migration.ps1. This script represents step 1 described in Architecture; it must be added by step 2 and step 3 cmdlets.


Example 2: cmdlet usage

ConvertTo-TpmsMigrationScript -SourcePath c:\temp\TP-ports.xml -OutputPath c:\temp\TP-ports.ps1

Converts the ThinPrint Port information file TP-ports.xml – exported by the ThinPrint Port Manager – to the PowerShell script TP-ports.ps1. This script represents step 1 described in Architecture; it would be best to merge it with the script created using the Printbrm export (see example 1).


Example 3: script

See Migrating a Windows Server 2003 print server.

Did you find it helpful? Yes No

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