Closed SamErde closed 3 weeks ago
Per discussion 14, the original version of this script fails if the current location is using a PSProvider other than FileSystem (eg registry).
The function should also accept objects from the pipeline.
Add ability to accept the source object from the pipeline.
Refactor the FilePath handling to:
Add cleanup at end of script.
By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.
Pull Request
Issue
Per discussion 14, the original version of this script fails if the current location is using a PSProvider other than FileSystem (eg registry).
The function should also accept objects from the pipeline.
Description
Add ability to accept the source object from the pipeline.
Refactor the FilePath handling to:
Add cleanup at end of script.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.