Hey Sue,
I've taken these and integrated them into the latest source - I've made a few minor changes though:
Dan
I've taken these and integrated them into the latest source - I've made a few minor changes though:
- Renamed Create-Folder to New-Folder to follow PowerShell verb naming scheme
- Fixed mandatory -ContinueOnError parameter on New-Folder
- Removed -Recurse parameter on Remove-Folder. Done by default. If a folder isn't empty and you didn't specify -Recurse, the whole script would hang waiting for user input
-
Switched from Trap to Try / Catch on both to be in line with new exception handling across all functions
Dan