Open navigation

Set-TPHubPrinterSnmp

Description

Syntax

Example



Description

This Cmdlet sets the SNMP settings for monitoring a specific printer.


Syntax

Set-TPHubPrinterSnmp [[-Printer] <PrinterViewModel>] [-UseGlobalSettings] <bool> [[-Username] <string>] [[-AuthenticationType] {MD5 | SHA}] [[-AuthenticationPassphrase] <string>] [[-PrivacyType] {NONE | DES | AES}] [[-PrivacyPassphrase] <string>] [-Proxy <string>] 
Set-TPHubPrinterSnmp [[-Name] <string>] [-Id <uint16>] [-Config] <PrinterSnmpViewModel> [-Proxy <string>]
ParameterDescription
-Nameprinter name
-Printerprinter determined with Get-TPHubPrinter
-Idprinter ID
-UseGlobalSettingsThe values set with Set-TPHubSnmpGlobal are to be used.
  • SelectedSnmpVersion
  • Communitystring
  • SNMP version 3 enabled/disabled (1/0 or True/False)
  • specification of a group/community under which printers respond to queries; this community name must be stored for all printers that you want to monitor
-Usernameuser name to be used for authentication
-AuthenticationTypechoice between 2 authentication types
• MD5 (recommended for testing purposes only)
• SHA
-AuthenticationPassphrasepassword used for authentication on the printer via SNMP
-PrivacyTypechoice between 2 encryption types (optional)
• DES
• AES
-PrivacyPassphrasepassword used for encryption of SNMP queries (optional)
-Configconfiguration using a variable
-Proxy• optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy


Example

The following example overwrites the specific SNMP settings of a printer with the global settings made with Set-TPHubSnmpGlobal.

Get-TPHubPrinterSnmp -Name "Photosmart C4700 series [5EA46D]"
Set-TPHubPrinterSnmp -Name "Photosmart C4700 series [5EA46D]" -UseGlobalSettings 1
Get-TPHubPrinterSnmp -Name "Photosmart C4700 series [5EA46D]"

ThinPrint Hub's PowerShell cmdlet Set-TPHubPrinterSnmp


Did you find it helpful? Yes No

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