1
Vraag
2
Reacties
Loretta89

Level 1
  • 2Posts
  • 0Oplossingen
  • 0Likes

Send mail after successfull powershell script execution

So I created the script below:

SCRIPT: $target = "c:\$(get-date -F 'yyyy-MM')"
if (!(Test-Path $target)) {md $target}
gci 'c:\test\' -Filter *.xml -recurse | ?{!$_.PSIsContainer -and $_.CreationTime -ge (get-date "01.$((get-date).Month)")} | copy-item -Destination $target -Force



Could somebody point me to the right direction of how to send a email to a krogerfeedback specific address after this script was successfully executed ?
Oplossing

Geaccepteerde oplossingen
Folkert
Community Testspecialist
Community Testspecialist
  • 7450Posts
  • 630Oplossingen
  • 3978Likes
Hi Loretta89,

I suggest that you join Stackoverflow.com and ask your question on this page.

Bekijk in context

2 Reacties 2
Nick999

Level 17
  • 3918Posts
  • 225Oplossingen
  • 1081Likes
I don't think this is the right place to ask this specific question. You might have a better chance when you go to a forum about scripting and TOR.
Folkert
Community Testspecialist
Community Testspecialist
  • 7450Posts
  • 630Oplossingen
  • 3978Likes
Hi Loretta89,

I suggest that you join Stackoverflow.com and ask your question on this page.
E-mail notificaties
Aan Uit

Ontvang een update bij nieuwe reacties in dit topic.

Uitgelicht topic