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

Domain migration ERR3:7075 Failed to change domain affiliation, hr=8007054a This operation is only allowed for the Primary Domain Controller of the domain

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