I have a PowerShell script that copies excel files received within the last 10 minutes from one location to another, However, the last file in each folder is still in use, so when it copies them to the destination, the file is corrupt and wont open. So I need to amend my script to put all all...
Hi, would appreciate any help
I am trying to write my first PowerShell script. I am copying files from one directory to another, between 2 times.
so far I have this
$StartDate = (Get-Date).Addminutes(-10)
$EndDate = Get-Date
$StrSource ="H:\SOURCE"
$StrTarget= "H:\TARGET"
Get-ChildItem...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.