You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/Win_ScreenConnectAIO.ps1
+23-24Lines changed: 23 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
<#
2
2
Requires global variables for serviceName "ScreenConnectService" and url "ScreenConnectInstaller"
3
-
serviceName is the name of the ScreenConnect Service once it is installed EG: "ScreenConnect Client (1327465grctq84yrtocq)"
4
-
url is the path the download the exe version of the ScreenConnect Access installer
3
+
serviceName is the name of the ScreenConnect Service once it is installed EG: "ScreenConnect Client (1327465grctq84yrtocq)" or "ConnectWise Control Client (xxxxxx)"
4
+
url is the path to download the MSI version of the ScreenConnect Access installer
5
5
Both variables values must start and end with "
6
6
Also accepts uninstall variable to remove the installed instance if required.
7
7
2022-10-12: Added -action start and -action stop variables
8
8
2024-3-19 silversword411 - Adding debug. Fixing uninstall when .exe not running.
9
+
2024-06-18: Bomb - Updated for MSI-only support (.exe deprecated)
9
10
#>
10
11
11
12
param (
@@ -39,19 +40,24 @@ if (!$serviceName) {
39
40
$ErrorCount+=1
40
41
}
41
42
if (!$url) {
42
-
write-output"Variable not specified ScreenConnectInstaller, please create a global custom field under Client called ScreenConnectInstaller, Example Value: `"https://myinstance.screenconnect.com/Bin/ConnectWiseControl.ClientSetup.exe?h=stupidlylongurlhere`"`n"
43
+
write-output"Variable not specified ScreenConnectInstaller, please create a global custom field under Client called ScreenConnectInstaller, Example Value: `"https://myinstance.screenconnect.com/Bin/ScreenConnect.ClientSetup.msi?h=stupidlylongurlhere`"`n"
0 commit comments