I need to move reports nightly from the server to a folder on the network. When I create a new file in ISE and put my code i it I see the following message. The string is missing the terminator. Where does the terminator go on this string?
Get-ChildItem -Path C:\Reports\' | ForEach-Object
{Copy-Item -Path $_.FullName -Destination " C:\Micros Reports\$($_.BaseName,(Get-Date).ToString("MMddyyyy"),$_.Extension)"}