Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Send Email with PowerShell    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
ReplyTo
Adam Schwanz 
           
2 years ago
I wanted 5,000 XP but the replyTo is not supported in PowerShell by the send-mailmessage cmdlet. You can see that by viewing available parameters by typing in get-help send-mailmessage -full If Microsoft says it is supported, then there's possibly certain versions of powershell that have the parameter, mine and yours do not :P.
Alex Hedley  @Reply  
           
2 years ago
Which version are you using?
Adam Schwanz OP  @Reply  
           
2 years ago
5.1.19041.4412
Alex Hedley  @Reply  
           
2 years ago
Might need to get v7

I can't see the usual version picker, on the mobile site
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7.4
Adam Schwanz OP  @Reply  
           
2 years ago
Ah yea, if you look through that page

-ReplyTo

Specifies additional email addresses (other than the From address) to use to reply to this message. Enter names (optional) and the email address, such as Name .

This parameter was introduced in PowerShell 6.2.

So presumably, if your PS is 6.2 or higher, your ReplyTo will work. Do I get half the XP @Richard?
Kevin Robertson  @Reply  
          
2 years ago
I just installed version 7.4.4

You also need to change CommandStr = "powershell..... to CommandStr = "pwsh..... otherwise Windows PowerShell is used and it will still fail.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Send Email with PowerShell.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 5:30:59 AM. PLT: 0s