Hi Guys
This is my first time using PSADT. I’m trying to Deploy Word & PowerPoint templates as well as setting the Outlook Default font on all our users machines.
This is the Installation command I have in Deploy-Application.ps1 :
Execute-ProcessAsUser -Path '$PSHOME\powershell.exe' -Parameters '-ExecutionPolicy Bypass -File "$dirFiles\TemplateCopy.ps1"'
This is the code I have in TemplateCopy.ps1 which is a script I’ve created to copy the templates and import the Reg file for Outlook fonts.
Copy-Item "$dirFiles\Templates\Normal.dotm" -Destination "$env:APPDATA\Microsoft\Templates\Normal.dotm”
Copy-Item "$dirFiles\Templates\NormalEmail.dotm" -Destination "$env:APPDATA\Microsoft\Templates\NormalEmail.dotm”
Copy-Item "$dirFiles\Templates\blank.potx" -Destination "$env:APPDATA\Microsoft\Templates\blank.potx”
reg import outlook-fonts.reg
Copy-Item "$dirFiles\Templates\installed.txt" -Destination "C:\Templates”
The App runs without any errors coming up but nothing happens, not templates change, no Outlook font changes.
I’m not sure where to start troubleshooting this, any help would be greatly appreciated.
Thanks
Josh