Hi!
recently, with the help of some guys in this forum, I managed towrite myfirst script.
Now i want to improve this code :
ConvertTo-HTML -head $head -PostContent "<br><i>$(Get-date)</i>" -body $body | Out-File "C:\Test\Double.html" -Encoding ascii
Launching the script Double.html is overwritten.
How can I set the name in Double-DayMonth.hmtl (ex Double 22Nov.html)?
I know i must use get-date but How can I assign values?
Thanks
A