#Copy office theme files to system

#Normal.dotm Copy
#Change location
Set-Location $env:APPDATA\\Microsoft\\Templates\\
#Copy Item
Copy-Item \\\\domain\_name\\netlogon\\Office\\Normal.dotm -Destination .\\ -Recurse
Write-Host Normal dotm copied successfull

#My\_Company.thmx Copy
#Change location
Set-Location .\\"Document Themes"\\
#Copy Item
Copy-Item \\\\domain\_name\\netlogon\\Office\\"My Company.thmx" -Destination .\\ -Recurse
Write-Host My Company thmx copied successfull

#Default Theme.thmx Copy
#Copy Item
Copy-Item \\\\domain\_name\\netlogon\\Office\\"Default Theme.thmx" -Destination .\\ -Recurse
Write-Host Default Theme thmx copied successfull

#My Company.xml Copy
#Change location
Set-Location .\\"Theme Colors\\"
#Copy Item
Copy-Item \\\\domain\_name\\netlogon\\Office\\"My Company.xml" -Destination .\\ -Recurse
Write-Host My Company xml copied successfull

#book.xltx Copy
#Change location
Set-Location $env:APPDATA\\Microsoft\\Excel\\
#Create Folder
New-Item -ItemType Directory -Path .\\XLSTART 
#Change Directory to new directory created
Set-Location $env:APPDATA\\Microsoft\\Excel\\XLSTART\\
#Copy Item
Copy-Item \\\\domain\_name\\netlogon\\Office\\"book.xltx" -Destination .\\ -Recurse
Write-Host My Company xml copied successfull

Write-Host Script End