Hi Guys
Is there a way to copy a file the %userprofile%\appdata\locallow folder? I tried using $envUserStartMenuPrograms\appdata\locallow erroing out
Hi Guys
Is there a way to copy a file the %userprofile%\appdata\locallow folder? I tried using $envUserStartMenuPrograms\appdata\locallow erroing out
The Powershell path to this is
$env:USERPROFILE\AppData\LocalLow\
so:
cp -Path <source> -Destination $env:USERPROFILE\AppData\LocalLow\
Should get this done
Thank u sir I figured it out I used
$envUserProfile\AppData\LocalLow
FYI: if you run PSADT as SYSTEM, you are going to get the SYSTEM account’s profile.
Is there a way to put it in all userprofiles?
you might want to look at Installing in user profiles - ActiveSetup vs. Execute-ProcessAsUser - The Toolkit / Tips & Tricks - PSAppDeployToolkit Community
I’m a proponent of using ActiveSetup but I’m noticing most people are using Execute-ProcessAsUser even with its limitations.