hallo zusammen
eigentlich zwei Fragen: wie kann man Variable oder auch die typischen %USERPROFILE%\Desktop in copy befehlen verwenden?
get-date (Powershell Objekt) geht zb. auch nicht auch nicht mit get-date.tostring()
$a = (get-date -Format YYYYMMDD) $a = a$ + ".txt" Copy-Item c:\temp\test.txt -Destination $a
CH