Different log file locations depending on OS

I’m trying to see if anyone knows of a simple way to do this. We’re moving to Win10 at work and Win7 has a different logging directory. We want to use PSADT with both, but I havent found a way to make one template for both environments mainly due to the log file location. I was thinking about adding code to the main PS1 script, but I’d like to avoid that if possible.



Why not copying an xml over the default one depending of the Osversion?

I think I’m just going to do an if/else to set the $configToolkitLogDir variable.