After a few comments about the logs, I’ve re-written the logging code in addition to fixing some bugs and cleaning up the function names.
Adding a -PassThru option and fixed a very odd bug.
Hi. In this part I add some text logging to the script. Not much else I can say really 🙂
A series of tutorials, or How To Get Started With PowerShell: “It’s Awesome” edition. The title was originally built around “Teach A Man A Cmdlet and he PowerShells for a day; Teach a Man to Use Get-Command and he PowerShell’s… Read More ›
Hi. Here’s another update on the Sync-Folder script. The script itself is at that link but in this post I go over the changes I made and how they work. The main addition is the support for -WhatIf (so you… Read More ›
A series of tutorials, or How To Get Started With PowerShell: “It’s Awesome” edition. When I thought about what I considered the most important, fundamental thing to learn about PowerShell I went through a couple of options; Piping? The help… Read More ›
This is the next part detailing how the script here works. The first part detailed the rough design of the script and the main function that creates the transaction objects that are passed through the script. This part adds some… Read More ›
Hi. I’ve written a few scripts that have gotten to be quite large. In all cases they’ve needed to make a series of changes to a set of objects and log the results. It’s normally important that some of the… Read More ›