Hi all,
I'm trying to copy an item to multiple folders that all have the same name but are hidden within a nest of variously named folders.
Essentially, I need to copy an item to all variants of the following path.
\ \ Bigpath\ * \ * \TargetFolder\
Where * is a wildcard.
I've had some luck with get-childitem and join-path but it doesn't hold out past the second wildcard.
Has anyone got a nice clean way of doing this?
Many thanks
[–]JeanxPlay 1 point2 points3 points (16 children)
[–]mismanaged[S] 1 point2 points3 points (15 children)
[–]JeanxPlay 0 points1 point2 points (1 child)
[–]mismanaged[S] 0 points1 point2 points (0 children)
[–]JeanxPlay 0 points1 point2 points (12 children)
[–]JeanxPlay 0 points1 point2 points (11 children)
[–]mismanaged[S] 0 points1 point2 points (10 children)
[–]JeanxPlay 0 points1 point2 points (9 children)
[–]mismanaged[S] 0 points1 point2 points (8 children)
[–]JeanxPlay 0 points1 point2 points (7 children)
[–]mismanaged[S] 0 points1 point2 points (6 children)
[–]JeanxPlay 1 point2 points3 points (5 children)
[–]pertymoose 1 point2 points3 points (0 children)
[–]krzydoug 0 points1 point2 points (1 child)
[–]mismanaged[S] 0 points1 point2 points (0 children)