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.


Please sign in to leave a comment.

Didn't find what you were looking for?

New post