Scripts

I find myself very often copying files between servers, specfically the CUs, so I wanted a faster way of doing that.  This script will copy the files from c:\source to the UNC of another front end server in a pool, in this example the folder is c:\source\Lync2013CU2809243

get-csservice -Registrar | %{Get-CsComputer -pool $_.PoolFqdn | %{new-item -Name Source -ItemType Directory -Path “\\$($_.fqdn)\c$” -whatif;copy-item -Path C:\source\Lync2013CU2809243 -Destination “\\$($_.fqdn)\c$\Source” -Recurse -whatif }}

52 thoughts on “

  1. Pingback: generic viagra
  2. Pingback: cialis online
  3. Pingback: order viagra
  4. Pingback: generic ed pills
  5. Pingback: canadian pharmacy
  6. Pingback: viagra cheap
  7. Pingback: allegra 125 mg
  8. Pingback: cheap viagra
  9. Pingback: canada drugs
  10. Pingback: viagra
  11. Pingback: viagra for sale
  12. Pingback: how to take viagra
  13. Pingback: viagra samples
  14. Pingback: tadalafil buy
  15. Pingback: pills for ed
  16. Pingback: buy Doxycyline
  17. Pingback: cheap viagra
  18. Pingback: buy cheap viagra
  19. Pingback: viagra
  20. Pingback: cheap cialis
  21. Pingback: cheap viagra
  22. Pingback: cialis walmart
  23. Pingback: viagra for sale
  24. Pingback: viagra generic
  25. Pingback: viagra boner
  26. Pingback: tadalafil
  27. Pingback: levitra online

Leave a Reply

Your email address will not be published. Required fields are marked *