Hi everyone,

Before I was using SendEmail but it seem that it’s not supporting TLSv1.3 :/ too bad because the SMTP server that I would like to use require it.

Do you have any solution ( Windows ) to send emails (TLSv1.3 supported) trough the CLI? Not powerShell ! but CMD

  • stewie410
    link
    fedilink
    31 year ago

    Are you also managing AD or other services in Linux to make PS more viable, or just in general?

    • @MajorHavoc
      link
      31 year ago

      I’m not doing anything particularly specific to PowerShell - I just like the web-request module, and excellent JSON handler, because I do a decent amount of web API stuff from the command line.

      I could curl+awk+sed this stuff, but the equivalent PowerShell is so much faster to write, and more concise to maintain than i.e. my zshell solution would be.

      Even in a few places where I’m using zsh as my term, I’ll still call into PowerShell if I already have a nice piece of PowerShell that does what I need. The two interoperate well, but I lose the object oriented pipe once the data is back in Zsh, of course.