Advertisement
Guest User

Untitled

a guest
Oct 9th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Write-Host "Iniciamos copia de archivos"
  2. $today = (get-date).Date
  3. $items = Get-ChildItem -Path "Q:\COMUN\PREVISIONA\INSTALACIONES" | where { $_.CreationTime.Date -eq $today }
  4.  
  5. foreach ($item in $items)
  6. {
  7. Write-Host "Vamos a Copiar : " $i "[" $item "]"
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement