Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Powershell scripted install over a VPN connection.

I'm working on a deployment to update the VPN client for remote workstations.  I was planning on a Powershell script that does the following:

  1. Copies the VPN client installer to a local folder.
  2. Stops the VPN client (Removing the machine from the network.)
  3. Installs the update.
  4. Deletes the local copy of the installer.
  5. Reboots computer.

If I put all this into a PDQ Powershell step, will the PDQ generated PS script run all the commands, or will it fail as soon as I stop the VPN client?



1 comment
Date Votes
  • I believe it will fail. You will probably have to create a scheduled task to do the bulk of the work.