I am trying to run add-printer powershell command but I m getting error. add-printer -name "MyTest Printer" -drivername "Canon MX920 series Printer"
Thank you
PS C:\Users\administrator> add-printer -name "MyTest Printer" -drivername "Canon MX920 series Printer"The term 'add-printer' is not recognized as the name of a cmdlet, function, script file, or operable p spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:12+ add-printer <<<< -name "MyTest Printer" -drivername "Canon MX920 series Printer" -port "Envy" + CategoryInfo : ObjectNotFound: (add-printer:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundExceptionPS C:\Users\administrator>
Can you please provide the script.
I need to add a printer (Printer Name, Host Name, Standard TCP/IP, Driver) Then enable the option to "print directly to printer"
Actually I was able to do all that with Powershell command but not on Windows 7
Thank you