Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Braingears last won the day on July 12

Braingears had the most liked content!

Community Reputation

4 Neutral

My Information

  • Agent Count
    1500+

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I use tickets to show accountability, progress & results of it running, and sometimes billable time. Just think through what you want to say and when.
  2. Sometimes I use PowerShell to download and install. You will notice that I used `Start-Process -Wait` so it will complete before going to the next entry. & { # PowerShell Download & Install Google Chrome $SoftwarePath = "C:\Support\Google" $DownloadPath = "https://dl.google.com/chrome/install/GoogleChromeStandaloneEnterprise64.msi" $Filename = [System.IO.Path]::GetFileName($DownloadPath) $SoftwareFullPath = "$($SoftwarePath)\$Filename" $wc = New-Object System.Net.WebClient if (!(Test-Path $SoftwarePath)) {md $SoftwarePath} Set-Location $SoftwarePath if ((Test-Path $SoftwareFullPath)) {Remove-Item $SoftwareFullPath} $wc.DownloadFile($DownloadPath, $SoftwareFullPath) (Start-Process "msiexec.exe" -ArgumentList "/i $($SoftwareFullPath) /qn" -NoNewWindow -Wait -PassThru).ExitCode } & { # PowerShell Download & Install - ConnectWise Manage $SoftwarePath = "C:\Support\ConnectWise" $DownloadPath = "https://university.connectwise.com/install/2019.4/ConnectWise-Manage-Internet-Client.msi" $Filename = [System.IO.Path]::GetFileName($DownloadPath) $SoftwareFullPath = "$($SoftwarePath)\$Filename" $wc = New-Object System.Net.WebClient if (!(Test-Path $SoftwarePath)) {md $SoftwarePath} Set-Location $SoftwarePath if ((Test-Path $SoftwareFullPath)) {Remove-Item $SoftwareFullPath} $wc.DownloadFile($DownloadPath, $SoftwareFullPath) (Start-Process "msiexec.exe" -ArgumentList "/i $($SoftwareFullPath) /qn" -NoNewWindow -Wait -PassThru).ExitCode }
  3. ^Bump^ Does anyone have a silent uninstall string for Webroot? I've tried multiple variations of the existing uninstall string, but a pop-up halts the silent attempt to remove it. "C:\Program Files\Webroot\WRSA.exe" -uninstall (tried: -silent, -s, -quiet)
  4. Try wmic product where name="Dell SupportAssist" call uninstall /nointeractive
  5. Invoke-WebRequest was introduced in Windows PowerShell 3.0, and is not on all computers... https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest?view=powershell-5.0 Try this instead: $SoftwarePath = "C:\Support\Automate" $DownloadPath = "https://s3.amazonaws.com/assets-cp/assets/Agent_Uninstall.exe" $Filename = [System.IO.Path]::GetFileName($DownloadPath) $SoftwareFullPath = "$($SoftwarePath)\$Filename" $wc = New-Object System.Net.WebClient if (!(Test-Path $SoftwarePath)) {md $SoftwarePath} Set-Location $SoftwarePath if ((Test-Path $SoftwareFullPath)) {Remove-Item $SoftwareFullPath} $wc.DownloadFile($DownloadPath, $SoftwareFullPath)
  6. Some examples of uptime ((Get-Date) - (Get-CimInstance Win32_OperatingSystem).LastBootUpTime) ((Get-Date) - (Get-CimInstance Win32_OperatingSystem).LastBootUpTime).TotalHours
  7. The monitor is looking at Event Logs, and is not making any comparisons within the event itself.
  8. System > General > Import > XML Expression
  9. Software Deployment Script Template I created this script to simplify new software deployments. Please remember that this is meant to be a template, to feel free to customize it to fit your deployment needs. • This script can be used for multiple software deployments from a parent script (such as Onboarding or a New Computer Build) What it does: - Checks to see of the Software is already installed on the computer. - Creates a ticket for accountability. - As the script runs, updates the status of the installation - Comments the ticket if the download fails. - Attaches the installation string and computers response when executed. - Verifies if the software is successfully installed or not. - Automatically closes the ticket once the software's installation is complete and verified. - Gives you the option to add billable time to the ticket. - Downloads the software installer from Web/FTP to the installation folder you specify on the local computer (default: C:\Support\Vender) - Ready for both x32 & x64 bit packages respectively. - Executes a MSI installation silently by default. - You can very easily edit & execute multiple line batch or Powershell scripts from the existing execute function (which then gets displayed in the ticket). - Customize it with whatever parameters /variables your installation script needs. - Updates the Software & Services inventory for that computer, then confirms that the software is successfully installed. This template is pre-loaded with all of the variables to download & install 7-Zip. Replace the content of the variables with your software information. Reminder: @SoftwarePackageName@ needs to match the exact name of the software as it exists in Add/Remove Programs. It's using this name to compare if the software is already installed and to confirm that it's successfully installed at the end. Template - Software Install MSI.xml Template - Software Install MSI.zip
  10. You can highlight multiple computers, right-click computers > Control > Redeploy.
  11. I've created an EDF for each of the Clients. If the service account password has been applied within the client, it applies a user account with a unique password per that client. If someone forgets to enter a unique password for that client, it uses a default password. The credentials are updated daily/weekly/monthly via a maintenance script on each of the computers. So we can change the passwords at anytime, and they are changed at all of the clients within minutes. If the computers were offline, the maintenance script get it at the next interval.
  12. https://docs.connectwise.com/ConnectWise_Control_Documentation/Get_started/Knowledge_base/Manually_remove_an_access_agent wmic product where name="ScreenConnect Client (xxxxxxxxxxxxxxxx)" call uninstall /nointeractive
  13. When you execute the reboot, perform a script sleep for 3-5 minutes. This way, the Automate Script will not attempt to execute the next function/command until after the computer has rebooted. After the sleep has expired, and the Automate agent is back online, it will continue exactly where it left off.
  14. Function: Execute Script Script Type: PowerShell Bypass Script Credentials: Run as Local Agent in the Script to Execute, this is what I use to convert Automate Variables into PowerShell Variables; in this case PSCredentials: $CredUser = '%computeruserdomain%' $CredPass = '%computerpassword%' $CredPassword = $CredPass | ConvertTo-SecureString -asPlainText -Force $Credential = New-Object System.Management.Automation.PSCredential($CredUser,$CredPassword) and then use them like you would with any PSCredential: ...} -Credential $Credential
×
×
  • Create New...