I have a Powershell script that copies files from one location to another. Once the copy is complete I want to clear the Archive attribute on the files in the source location t
You can use the good old dos attrib command like this:
attrib -a *.*
Or to do it using Powershell you can do something like this:
$a = get-item myfile.txt $a.attributes = 'Normal'