Why doesn't this work?:
Copy-Item "C:\Logs\VPNLog.txt" "C:\Backup\VPNLog$(Get-Date -UFormat %d-%m-%Y-%R).txt"
Error message:
Copy-Item : The given path's format is not supported.
For the record, this works:
Copy-Item "C:\Logs\VPNLog.txt" "C:\Backup\VPNLog.txt"