Evening,
I hope that one of you can help me.
I need to write a script that on the first day of every month FTP downloads a file to an archieve area and uploads it to a diffrent FTP site (as i keep forgetting to do it).
That part was relatively easy to do and i have all the FTP code to do it, I now need to do the same basic task on the first sunday of every month, obviously with the dates varying all the time i am not to sure how to get the infomation i need.
So in the most basic of ways i can think of putting it i need to be able to do the following:
if ($ItsTheFirstSunday -eq $true) { do stuff }
I just dont know how to get $ItsTheFirstSunday
Thanks in advance
Liam