![]() However, the outcome is the same: VNC starts but does not have the parameter for the server to connect to.Įventually i got out of ideas of how to identify what my mistake is as i'm rather new to powershell. That made me lookup the Powershell quoting rules and use ' or " for the parameters etc. So i probably make a mistake in the -connect parameter which might has something to do with quotation marks etc. To me it shows that the ArgumentList is handed over correctly. ![]() ![]() However, if i omit the parameter for the -dsmplugin, it is recognized that theres no plugin used for starting a secure connection. However, this takes time and resources, so its much better to automate this process and directly send the installation files remotely, with no user interaction at all. I assumed the -ArgumentList might not hand over the parameters correctly because the server is missing. At that point, you might have talked the user through installing VNC on the server from a file share somewhere on the network. Powershell starts UltraVNC but there is no server entered in the UltraVNC-Window and the connection fails. Start-Process -FilePath "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -ArgumentList "-connect myserver -dsmplugin myplugin.dsm" By continuing to use this site and/or clicking the 'Accept' button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. Is working fine, it starts UltraVNC and connects to my server with the plugin we use. "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -connect myserver -dsmplugin myplugin.dsm ![]() My goal is to start UltraVNC via Powershell (as part of function in a script) Access any Computer From Anywhere with UltraVNCUltraVNC is a great remote support tool for I.T Support, if your support a bunch of computers, then UltraVNC i. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |