Forum Discussion
Chris_White_81
Sep 27, 2022Copper Contributor
Copy a OVPN file in Powershell from Intune
Sounds easy, my powershell script works fine if i run it on my machine, it copies the file into the %USERPROFILE%\OpenVPN\config folder. Its packaged up using the Intunewinapp program, but when i put...
Moe_Kinani
Sep 28, 2022Bronze Contributor
Hi Chris,
Have you tried to use this C:\Users\%USERNAME%\openvpn\…?
This should do it if you run it as Run As User (Install Behavior).
Moe
Chris_White_81
Sep 28, 2022Copper Contributor
for some reason no, is this whats stopping endpoint from writing the file? Ill try it though