Vraag
Reacties
Oplossing
Aankondigingen
Let op: In het weekend van 14 en 15 juni doen we een upgrade van onze systemen waardoor ook het inloggen op de Ziggo Community beperkt mogelijk is. Vanaf maandag werkt het weer als vanouds.
Loretta89
Level 1

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 ?
0 Kudos
e-mail meldingen
Aan Uit
Oplossing

Geaccepteerde oplossingen
Folkert
Community Testspecialist
Community Testspecialist
Hi Loretta89,

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

Bekijk in context

0 Kudos
2 Reacties 2
Nick999
Level 17
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.
0 Kudos
Folkert
Community Testspecialist
Community Testspecialist
Hi Loretta89,

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