Microsoft
Software
Hardware
Network
Question : Powershell Script to Copy Folder Structure from one Server to another.
Hey,
We are replacing our File server with a new one, and I am trying to clean up some in the process. I need a PowerShell Script to copy just the folder structure from one server to another. I do not need the files, just the folders.
Answer : Powershell Script to Copy Folder Structure from one Server to another.
Heh heh heh. There you go.
I'm sure there are various creative ways to make the job harder.
1:
invoke-expression "xcopy \\oldserver\c$\files c:\files /T /E"
Open in New Window
Select All
Random Solutions
Retrieve list of all files in folder & subfolders with DateCreate property equal to today
Can't RDP to a Windows XP worktation
MS Web Expressions Type Expanding with Window Resize
Outlook 2010 Beta Product Activation Failed
IIS6 FTP mget case sensitive
Cross appdomain communication winthin single process on single machine in c#
Loop through the cells of a datagrid without knowing the datasource
How do I allow field input from only specific input devices?
Local hotels details & prices Access Database
Would like to add column to existing Datatable, then add items to it one at a time.