If found - creates a copy ofActiveDirectory.dll to ActiveDirectory.pre in each of the sub directories of the current directory.
get-childitem -recurse -filter "ActiveDirectory.dll" | foreach-object {copy -path $_.FullName -Destination "$($_.Directory)\ActiveDirectory.pre" -Container}
Not sure if the container is needed.
No comments:
Post a Comment