• Welcome to Support Forum: Get Support for Patch My PC Products and Services.

Post Script - Copy Item Path

Started by IT-Wikinger, November 21, 2023, 03:36:45 AM

Previous topic - Next topic


Hey Guys,
this should be an easy question for the most of you :D

I wanna copy a Language File to a Destination.

Put the file as an Additional File on the PatchMyPC Server.

Now I need the path in the Script where the File is.

Copy-Item -Path ???\German.Ingx -Destination C:\Program Files (x86)\KeePass2x\Languages

Hugo Marinho (Patch My PC)

Hey IT-Wikinger,

The German.lngx is in the same folder as the package itself client side when downloaded from wsus/sccm/intune, so in your script you can use the command below:

Copy-Item -Path ".\German.lngx" -Destination C:\Program Files (x86)\KeePass2x\Languages

Hope to have helped, have a rest of a great day!


can i found troubleshooting logs for this?
It doesn´t work :(

Hugo Marinho (Patch My PC)

HI there IT-Wikinger,

I'm sorry to hear that, you can click on the button "Collect logs" found on the bottom of the "General" tab, that will generate a .zip file with the relevant server side logs, you can then e-mail that over to us at [email protected] and we can have a look what can be happening there. Ideally you would also send us client side logs, if you have the option "Manage installation logging" enabled, their default location is either:

This may be found in the %ProgramData%\PatchMyPC\ if the Install was initiated by the user from Software Center.
This may be found in the %temp% of the user who clicked 'Install' in Software Center if it was an 'Available' deployment.

This may be found in the %ProgramData%\PatchMyPC\ if the Install was initiated by the user from Company Portal.
Note: Some Patch My PC log files listed above may be found in %WinDir%\CCM folder if that folder exists.