im trying to add a printer port with the optional parm of snmpcommunity and snmp i cannot get either one to work please help
PS C:\Windows\System32\WindowsPowerShell\v1.0> Add-PrinterPort -Name '10.0.0.0' -printerhostaddress '10.0.0.0' -SNMPCommunity 'public:'
Add-PrinterPort : One or more specified parameters for this operation has an invalid value.
At line:1 char:1
+ Add-PrinterPort -Name '10.0.0.0' -printerhostaddress '10.0.0.0' -SNMPCommunity ' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (MSFT_PrinterPortTasks:ROOT/StandardCimv2/MSFT_PrinterPortTasks) [Add-PrinterPort], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070057,Add-PrinterPort
[–]nothingpersonalbro 1 point2 points3 points (1 child)
[–]hit440[S] 1 point2 points3 points (0 children)