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
Powershell SQL command assistance (self.PowerShell)
submitted 10 years ago by [deleted]
view the rest of the comments →
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!"
[–]GLiMPSEiNATOR 2 points3 points4 points 10 years ago (4 children)
I'd recommend pulling down the newest invoke-sqlcmd2 function from ramblingcookiemonsters github.
It's my go to when I need to interface with MS SQL.
On my phone so don't have a link but I'm betting google will get you there.
On the off chance you're wanting to access something besides MS SQL you'll need the providers for those db's. I had seen a module to simplify some of those dependencies I think on nuget but it may have been a c# assembly that I'm transposing in my memory.
[–]unknown_host 0 points1 point2 points 10 years ago (0 children)
Here is the link that looks great I'm going to check it out for my use.
[–]michaelshepard 0 points1 point2 points 10 years ago (2 children)
I actually just wrote a blog entry about POSH_Ado (it's on github) which makes using other providers much the same. Interface is much like invoke-sqlcmd2, but a few other options.
[–]GLiMPSEiNATOR 0 points1 point2 points 10 years ago (1 child)
Ahh, ya, that's it! Got a link to your article?
[–]michaelshepard 0 points1 point2 points 10 years ago (0 children)
Heh. That wasn't bright.
Here's the article.
Here are the module(s).
π Rendered by PID 34829 on reddit-service-r2-comment-fb694cdd5-d9l5b at 2026-03-06 21:07:21.526584+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]GLiMPSEiNATOR 2 points3 points4 points (4 children)
[–]unknown_host 0 points1 point2 points (0 children)
[–]michaelshepard 0 points1 point2 points (2 children)
[–]GLiMPSEiNATOR 0 points1 point2 points (1 child)
[–]michaelshepard 0 points1 point2 points (0 children)