Closed broth-itk closed 3 years ago
Original:
if($RemoteSession){Remove-PSSession -Session $RemoteSession} Disconnect-VBRServer -ErrorAction SilentlyContinue
Proposal:
Disconnect-VBRServer -ErrorAction SilentlyContinue if($RemoteSession){Remove-PSSession -Session $RemoteSession}
When using a remote session, "Disconnect-VBRServer" should be run on the remote machine, then close remote session.
Original:
Proposal:
When using a remote session, "Disconnect-VBRServer" should be run on the remote machine, then close remote session.