You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xPSDesiredStateConfiguration - xArchive - Scenario: a versioned Archive zip - Is there a way to remove stale/orphaned files from destination folder that no longer exist in the archive (filename wise)?
Ex:
Initial (v1) Archive.zip -> extracted File1.txt, File2.txt, File3.txt -> C:\temp
(v2) Archive.zip -> extracted File1.txt, File3.txt -> C:\temp
(Goal would be File2.txt to be removed while File1.txt and File3.txt were updated).
The parameters for xArchive appear (at first glance) to only provide ways to update destination files or copy new files from Archive. Else I can provide an 'Absent' xArchive resource - but that seems a bit counter productive if the archive file will be versioned frequently.
The text was updated successfully, but these errors were encountered:
xPSDesiredStateConfiguration - xArchive - Scenario: a versioned Archive zip - Is there a way to remove stale/orphaned files from destination folder that no longer exist in the archive (filename wise)?
Ex:
Initial (v1) Archive.zip -> extracted File1.txt, File2.txt, File3.txt -> C:\temp
(v2) Archive.zip -> extracted File1.txt, File3.txt -> C:\temp
(Goal would be File2.txt to be removed while File1.txt and File3.txt were updated).
The parameters for xArchive appear (at first glance) to only provide ways to update destination files or copy new files from Archive. Else I can provide an 'Absent' xArchive resource - but that seems a bit counter productive if the archive file will be versioned frequently.
The text was updated successfully, but these errors were encountered: