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>]
Parameter | Description |
-Name | printer name |
-Printer | printer determined with Get-TPHubPrinter |
-Id | printer ID |
-UseGlobalSettings | The values set with Set-TPHubSnmpGlobal are to be used. |
|
|
-Username | user name to be used for authentication |
-AuthenticationType | choice between 2 authentication types • MD5 (recommended for testing purposes only) • SHA |
-AuthenticationPassphrase | password used for authentication on the printer via SNMP |
-PrivacyType | choice between 2 encryption types (optional) • DES • AES |
-PrivacyPassphrase | password used for encryption of SNMP queries (optional) |
-Config | configuration 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]"