Forum Discussion

Nikola Nenadovic's avatar
Nikola Nenadovic
Brass Contributor
Jun 14, 2019

Intune PowerShell scripts

Hi,

 

I'm currently trying to run a PS script to add a VPN connection through Intune PowerShell.

When the script is run directly in powershell it executes as it should, adding the VPN connection.

On the other hand, if it executes through Intune PowerShell, nothing happens. I've searched the intune logs on targeted user's PC and also the online Intune portal where the script has a: Succeeded status.

 

Am I doing something wrong?

 

5 Replies