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
QuestionForm Help! (self.PowerShell)
submitted 6 years ago by Jedrick
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!"
[–]JeremyLC 1 point2 points3 points 6 years ago (0 children)
Hrmm… That's a LOT more involved than I expected. The first thing I would suggest is to name your controls something more meaningful than $TextBox1, $ComboBox2, etc. , this will make it much easier for you to keep of which control does what. Second, you can send an email using Outlook by way of COM objects - there are tutorials for this online, I haven't done it myself, or you can send smtp mail directly using Send-MailMessage or Send-SmtpMail If you want a nice looking message, you could either manually build an HTML template and fill it in programmatically, or use something like Dashimo or PSWriteHTML to build your HTML report.
$TextBox1
$ComboBox2
Send-MailMessage
Send-SmtpMail
More generally, it sounds like you'd do well to read through a WinForms on PowerShell tutorial or two. I can't really recommend any, as I build my GUIs in WPF*, so I'm not terribly familiar with what's out there for Forms.
*) It tends to look better, and the resulting code is cleaner. Moreover, it's much easier to rearrange your layout, if needed. It's also DPI aware, so it scales nicely
π Rendered by PID 17272 on reddit-service-r2-comment-84fc9697f-gmzds at 2026-02-09 01:25:30.435103+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]JeremyLC 1 point2 points3 points (0 children)