Copy folders structure without files using PowerShell


hi

i need copy folders tree without files folder c:\a to folder c:\b. how it. tried using copy-item command no success: copy-item -path c:\a\* -destination c:\b -filter {psiscontainer} -recurse

thank help.


kind regards tomasz



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file