Author Posts

December 30, 2017 at 8:13 am

Hi

I need to iterate a folders files and change every files attribute, if the folder has sub folders they should also be processed, can anyone show how to do this?

December 30, 2017 at 11:09 am

See these 3 articles to get you where you need to go.

Files and Folders Part 1-3

'technet.microsoft.com/en-us/library/ee176983.aspx'
'technet.microsoft.com/en-us/library/ee176985.aspx'
'technet.microsoft.com/en-us/library/ee176988.aspx'

For attributes see this:
'blogs.technet.microsoft.com/heyscriptingguy/2011/01/26/use-a-powershell-cmdlet-to-work-with-file-attributes'