How to script client-side Add-Printer via powershell, or other?

%3CLINGO-SUB%20id%3D%22lingo-sub-2132479%22%20slang%3D%22en-US%22%3EHow%20to%20script%20client-side%20Add-Printer%20via%20powershell%2C%20or%20other%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2132479%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20I%20know%20I%20can%20use%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-%20Manual%20install%20or%3C%2FP%3E%0A%3CP%3E-%20Intune%20based%20install%20%2F%20service%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eto%20perform%20the%20%2BADD%20for%20universal%20cloud%20print%20device.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20would%20the%20client%20side%20syntax%20be%3F%20(in%20any%20language..%20Powershell%2C%20VB%2C%20C%23%2C%20C%2B%2B...%20etc%3F%3C%2FP%3E%0A%3CP%3EI'll%20take%20anything...)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%20I%20can%20take%20as%20input%20either%20the%20GUID%20(as%20shared)%20or%20NAME%20or%20something.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20Powershell%20add-printer%20doesn't%20seem%20to%20have%20what%20I%20need%20yet.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnyway..%20the%20goal%20%2F%20my%20question%20is%20how%20to%20automate%20the%20clicks%20from%20THIS%20to%20THIS%20(one%20screenshot)%20and%20pass%20in%20a%20value%20to%20get%20it%20mounted.%20Thanks.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22uprint1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254746i2F532D2A68D5EA69%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22uprint1.png%22%20alt%3D%22uprint1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167435%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20script%20client-side%20Add-Printer%20via%20powershell%2C%20or%20other%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167435%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63901%22%20target%3D%22_blank%22%3E%40Jeremy%20Moskowitz%3C%2FA%3E%26nbsp%3Bgood%20feature%20request.%26nbsp%3B%20If%20you%20haven't%20yet%2C%20please%20go%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Funiversal-print-feature-requests%2Fidb-p%2FUniversalPrintFeatures%22%20target%3D%22_blank%22%3EUniversal%20Print%20Feature%20Requests%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%26nbsp%3Band%20add%20your%20feature%20request%20to%20the%20list.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EJimmy%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

So I know I can use:

 

- Manual install or

- Intune based install / service

 

to perform the +ADD for universal cloud print device.

 

What would the client side syntax be? (in any language.. Powershell, VB, C#, C++... etc?

I'll take anything...)

 

Perhaps I can take as input either the GUID (as shared) or NAME or something.

 

But Powershell add-printer doesn't seem to have what I need yet.

 

Anyway.. the goal / my question is how to automate the clicks from THIS to THIS (one screenshot) and pass in a value to get it mounted. Thanks.

 

uprint1.png

1 Reply

@Jeremy Moskowitz good feature request.  If you haven't yet, please go to Universal Print Feature Requests - Microsoft Tech Community and add your feature request to the list.

 

Thanks,

Jimmy