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:
- Copies the VPN client installer to a local folder.
- Stops the VPN client (Removing the machine from the network.)
- Installs the update.
- Deletes the local copy of the installer.
- 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?