How to copy file to appdata

How to copy file to appdata

Hello,

for our company I need to copy an File to an Folder in appdata. 

I tried it with powershell, but it wont work, I tried this:

Copy-Item "SAPUILandscape.xml" -Destination "C:\Users\%username%\AppData\Roaming\SAP\Common\"

The install argument is then : powershell.exe -file Landscape.ps1

Both files (Landscape.ps1 and SAPUILandscape.xml) are uploaded

Can someone help me with this problem?

                New to ADSelfService Plus?