Installing the PowerShell module

1494 views 0

Alternative 1: Installation using PowerShell Gallery

  • Open Windows PowerShell as an administrator.
  • On Windows 10 or Server 2016 or later, use the following command to install the current version of the Hub PowerShell module:
    Install-Module -Name TPHubPS
  • Here, answer the questions with y (YES) or a (ALL).

installing the current version of TPHubPS using PowerShell Gallery

On older Windows systems, you may need to customize Windows PowerShell first.
For more information, see the PowerShell Gallery documentation:
learn.microsoft.com/en-us/powershell/gallery/getting-started?view=powershellget-2.x

Older versions of the Hub PowerShell module can be found on:
www.powershellgallery.com/packages/TPHubPS

  • The available cmdlets can be viewed using:
     Get-Command -Module TPHubPS

In the following sections, the Cmdlets will be described in detail – including their rela­tionships to the user interface menus; refer to Web console.

Alternative 2: Downloading from Hub and installing manually

  • Download the PowerShell module for the ThinPrint Hub (TPHubPS.dll) from the web console login page.

the web console login page: download the ThinPrint Hub PowerShell module

  • Copy the PowerShell module into a directory on your administration computer.
  • Open the TPHubPS.dll file’s properties and check or click on Unblock to lift Windows’ automatic blocking of copied DLLs. Click OK to con­firm.

 lifting Windows’ automatic DLL blocking

  • Open Windows PowerShell as administrator, and import the TPHubPS.dll mod­ule
  • into the same directory that you loaded the module into, with:
    Import-Module .\TPHubPS.dll

    importing the ThinPrint Hub PowerShell module

  • The available cmdlets can be viewed using:
     Get-Command -Module TPHubPS

In the following sections, the Cmdlets will be described in detail – including their rela­tionships to the user interface menus; refer to Web console.

Previous Page
Next Page

Was this helpful?