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 December 10 2019

Braingears had the most liked content!

Community Reputation

12 Good

My Information

  • Agent Count
    1500+

Recent Profile Visitors

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

  1. # Uninstall Automate Agent Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.psm1'); Uninstall-Automate -Force
  2. This is what I've created and been using for over a year. #!ps #timeout=900000 #maxlength=9000000 Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.psm1') Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2 You can also use the other Functions too: Confirm-Automate Uninstall-Automate Install-Automate Push-Automate GitHub (Download and publically hosted from) https://github.com/Braingears/PowerShell/blob/master/Automate-Module.psm1
  3. I've created an Automate script that creates an Active Directory GPO and deploys the Automate agents via Startup Script. I've tested it on multiple domains successfully. Does not require Permissions/Credentials in Automate Uses GitHub for initial GPO and PS module downloads (so not need to download files to your local server). Automatically links the GPO to the root (optional variable in script) Creates a ticket for accountability and script's results. Please give me some feedback... Agent Deploy - Remove GPO on Domain Controller.xml Agent Deploy - Create GPO on Domain Controller.xml
  4. What is the download link? Is it public? Does it require a logon to download?
  5. Are there any other symptoms that any of you are seeing other than Hiberboot Enabled?
  6. I have created Automate Agent deployment scripts that run from Automate. • Uses discovered Computers & Network Devices found by the Probe and uses assigned Location Credentials (unless Override User/Pass is entered) to push Automate Agent. • Right-Click on Network Device to push Automate Agent to one computer • Scans entire subnet where the agent is located and uses assigned Location Credentials (unless Override User/Pass is entered) to push Automate Agent. • Query Active Directory for all computers that have logged-in in the past 30 days and uses assigned Location Credentials to push Automate Agent All of the scripts utilize GitHub for up-to-date Automate-Module.psm1 https://github.com/Braingears/PowerShell/blob/master/Automate-Module.psm1 It will Ping -> Attempt Deployment via WinRM -> Attempt Deployment via RPC/WMI Agent Deploy via Scan Local Subnet.xml Agent Deploy via Domain Controller.xml Agent Deploy to Network Device.xml Agent Deploy to All Network Devices.xml
  7. I have updated GitHub with Push-Automate in the Automate Functions. Automate Module - PublicGitHub.txt
  8. I created a PowerShell script that accomplishes what you are looking for. It has to be run from a domain controller or computer with ActiveDirectory module loaded. https://github.com/Braingears/PowerShell/blob/master/Create%20Domain%20User%20with%20Domain%20Admin%20Rights/CreateDomainUserWithDomainAdminRights.ps1
  9. I am replacing this script with my new Install-Automate Functions that I've placed on GitHub: https://docs.connectwise.com/ConnectWise_Automate/ConnectWise_Automate_Documentation/070/175 CMD (as Admin) %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -Command "Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2" PowerShell (as Admin) Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2 In ScreenConnect / Control #!ps #timeout=900000 #maxlength=9000000 Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2 Examples: # Install Automate Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2 -Transcript # Force Rip & Replace of Automate Agent Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Install-Automate -Server 'YOURSERVER.DOMAIN.COM' -LocationID 2 -Force -Transcript # Check if Automate is installed and checking in Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Confirm-Automate -Show # Show Automate registry key Invoke-Expression(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Braingears/PowerShell/master/Automate-Module.ps1'); Confirm-Automate -Raw Functions: Confirm-Automate Uninstall-Automate Install-Automate
  10. 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.
  11. 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 }
  12. ^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)
  13. Try wmic product where name="Dell SupportAssist" call uninstall /nointeractive
×
×
  • Create New...