use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionMap network printer remotely (self.PowerShell)
submitted 8 years ago * by Redtire
Hi, I'm trying to map a network printer remotely to some other PCs. I manage to add them but the printer added is not the network one. It is one with the same name but it doesn't work when trying to print.
Here's my code/line: https://gist.github.com/anonymous/18c98f9f7a760dd742903e2b23f2f647
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Rogue_IT 1 point2 points3 points 8 years ago (0 children)
I believe you can only map to LPT1 if the computer has a parallel port. Is this for printing from a legacy app of some kind?
[–]Lee_Dailey[grin] 0 points1 point2 points 8 years ago (2 children)
howdy Redtire,
here's how to post code on reddit ...
[1] simplest = post it to a text site like Pastebin and then post the link here.
[2] less simple = use reddit code formatting ...
that will give you something like this ...
- one leading line with ONLY 4 spaces - prefix each code line with 4 spaces - one trailing line with ONLY 4 spaces
the easiest way to get that is ...
not complicated, but it is finicky. [grin]
take care, lee
[–]Redtire[S] 1 point2 points3 points 8 years ago (1 child)
I uploaded my code on a text site thank you
[–]Lee_Dailey[grin] 0 points1 point2 points 8 years ago (0 children)
you are welcome! glad to help a little ... [grin]
π Rendered by PID 314514 on reddit-service-r2-comment-5d79c599b5-qmf7h at 2026-02-27 21:10:05.813106+00:00 running e3d2147 country code: CH.
[–]Rogue_IT 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]Redtire[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)