Viewing 3 posts - 1 through 3 (of 3 total)
Put the date to a variable first it is the Get-Date that seems to be the problem in my example above.
$source_dir = "B:\Database_Backups"
$target_dir = "\\machine-b\Database_Backups"
$d = Get-Date
Get-ChildItem $source_dir\*.* -include *.bak,...
February 2, 2012 at 12:43 am
Hi John,
Just tested your theory, and it looks good! Thanks very much you have save much hair pulling 🙂
Colin.
October 5, 2010 at 6:14 am
Hi ali,
If I start the job at step 3 it still does not perform the changes on the Data, but step 4 completes successfully too.
October 5, 2010 at 5:43 am
Viewing 3 posts - 1 through 3 (of 3 total)