- Cove
- SentinelOne
- BitDefender
- Webroot
- Cove
- SentinelOne
- BitDefender
- Webroot
أنشئ الحقل المخصص للعميل.
- انتقل إلى Settings > CRM > Custom Fields.
- أضِف حقلًا مخصصًا بالتفاصيل التالية:
- Name: Cove Customer UID
- Variable: CoverCustomerUID
املأ Cover Customer UID لكل عميل.
- انتقل إلى عميل محدد.
- انقر فوق Custom Fields.
- عدّل Cove Customer UID.
- أدخل Customer UID الذي تم استرجاعه من Cove.
اكتب النص البرمجي.
- انتقل إلى Scripts.
- أنشئ نصًا برمجيًا بالتفاصيل التالية:
- Name: Install-Cove
- Content:
# ===== Configuration Variables =====
$CUSTOMERUID = $gorelo:client.CoveCustomerUID
$PROFILEID = "All-in" # Default retention policy
$PRODUCT = "0" # Profile ID (use "0" for no profile or a specific profile ID)
$DOWNLOADPATH = "C:\Windows\Temp"
# ===================================
$startTime = Get-Date
$INSTALL = "$DOWNLOADPATH\bm#$CUSTOMERUID#$PROFILEID#.exe"
# Download installer
try {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(New-Object System.Net.WebClient).DownloadFile("https://cdn.cloudbackup.management/maxdownloads/mxb-windows-x86_x64.exe", "$INSTALL")
} catch {
Write-Output "ERROR: Failed to download installer - $_"
exit 1
}
# Run installer
try {
Start-Process -FilePath $INSTALL -ArgumentList "-product-name `"$PRODUCT`"" -Wait -NoNewWindow
Start-Sleep -Seconds 5
} catch {
Write-Output "ERROR: Installation failed - $_"
exit 1
}
# Verify installation
$service = Get-Service -Name "Backup Service Controller" -ErrorAction SilentlyContinue
$process = Get-Process -Name "BackupFP" -ErrorAction SilentlyContinue
if ($service.Status -eq 'Running' -and $process) {
Write-Output "SUCCESS: Backup Service Controller is running and BackupFP process is active."
Write-Output "Installed for Customer UID: $CUSTOMERUID"
$exitCode = 0
} else {
Write-Output "WARNING: Backup Service Controller or BackupFP process is not running as expected."
Write-Output "Customer UID: $CUSTOMERUID"
# Check log for errors
$logDirectory = "C:\ProgramData\mxb\Backup Manager\logs\ClientTool"
if (Test-Path $logDirectory) {
$latestLog = Get-ChildItem -Path $logDirectory -Filter "*.log" | Sort-Object LastWriteTime -Descending | Select-Object -First 1
if ($latestLog) {
$errorLines = Get-Content -Path $latestLog.FullName | Where-Object { $_ -match '\[E\]' } | Select-Object -Last 3
if ($errorLines) {
Write-Output "Recent errors from log:"
$errorLines | ForEach-Object { Write-Output $_ }
}
}
}
$exitCode = 1
}
$endTime = Get-Date
Write-Output "Installation completed in $([math]::Round(($endTime - $startTime).TotalSeconds, 2)) seconds."
exit $exitCode
أنشئ الحقل المخصص للعميل.
- انتقل إلى Settings > CRM > Custom Fields:
- أضِف حقلًا مخصصًا بالتفاصيل التالية:
- Name: SentinelOne Site Token
- Variable: s1token

املأ رمز البرنامج لكل عميل.
- انتقل إلى عميل محدد
- انقر فوق Custom Fields.

- عدّل SentinelOne Site Token.
- أدخل Site Token الذي تم استرجاعه من SentinelOne.
يمكنك استرجاع SentinelOne Site Token الخاص بك من https://<DomainName>.sentinelone.net/dashboard. انتقل إلى موقع، ثم إلى علامة التبويب Site Info.


أنشئ ملف المثبّت.
- انتقل إلى Settings > Asset > Files.
- أضِف ملفًا بالتفاصيل التالية:
- File: قم بتحميل أحدث مثبّت MSI
- Variable: S1Installer
اكتب النص البرمجي.
- انتقل إلى Scripts.
- أنشئ نصًا برمجيًا بالتفاصيل التالية:
- Name: Install-SentineOne.
- Content:
#Silently install SentinelOne
if($gorelo:client.s1token){
$S1Service = get-service -Name 'Sentinel Agent' -ErrorAction SilentlyContinue
if($S1Service -eq $null){
msiexec /i $gorelo:file.S1Installer SITE_TOKEN=$gorelo:client.s1token /quiet /norestart
}
}
انشر النص البرمجي عبر سياسة.
- انتقل إلى Policies.
- عدّل سياسة موجودة تغطي الأصول التي تريد تثبيت SentinelOne عليها.
- أضِف النص البرمجي Install-SentineOne واضبطه ليتكرر يوميًا في الوقت المفضل لديك.
- وزّع السياسة.
أنشئ الحقل المخصص للعميل.
- انتقل إلى Settings > CRM > Custom Fields.
- أضِف حقلًا مخصصًا بالتفاصيل التالية:
- Name: Bitdefender URL
- Variable: bitdefenderURL

املأ BitDefender URL لكل عميل.
- انتقل إلى عميل محدد.
- انقر فوق Custom Fields.

- عدّل Bitdefender URL.
- أدخل عنوان URL لملف exe الخاص بالتثبيت الذي تم استرجاعه من Bitdefender لكل عميل.
يجب أن يبدو Bitdefender URL لملف exe الخاص بالتثبيت هكذا (مثال وهمي):htttps://cloudgz.gravityzone.bitdefender.com/Packages/BSTWIN/0/setupdownloader_[aHR0cHM6Ly9jbG91ZGdLWDawWVjcy5ncR5em9uZS5iaXRkZWZl3ddwawGfawdmRlci5jb20vUGFja2FnZXMvQlNUV0lOLzAvdkluc3RhbGxlci54bw-bGFuZz1lbi1VUw==].exe
اكتب النص البرمجي.
- انتقل إلى Scripts.
- أنشئ نصًا برمجيًا بالتفاصيل التالية:
- Name: Install-Bitdefender
- Content:
#$gorelo:client.bitdefenderURL
# Check if Bitdefender is already installed
if (Get-Service -Name "EPProtectedService" -ErrorAction SilentlyContinue) {
Write-Host "Bitdefender is already installed. Skipping installation."
exit 0
}
# Proceed with installation
$url = $gorelo:client.bitdefenderURL
$filename = Split-Path $url -Leaf
$installer = Join-Path $env:TEMP $filename
Write-Host "Downloading Bitdefender installer..."
(New-Object System.Net.WebClient).DownloadFile($url, $installer)
Write-Host "Installing Bitdefender..."
Start-Process -FilePath $installer -ArgumentList "/silent" -Wait
Remove-Item -LiteralPath $installer
# Verify installation
Start-Sleep -Seconds 10 # Give the service time to start
$service = Get-Service -Name "EPProtectedService" -ErrorAction SilentlyContinue
if ($service -and $service.Status -eq "Running") {
Write-Host "Installation successful! EPProtectedService is running."
exit 0
} else {
Write-Host "Installation may have failed. EPProtectedService not found or not running."
exit 1
}
انشر النص البرمجي عبر سياسة.
- انتقل إلى Policies.
- عدّل سياسة موجودة تغطي الأصول التي تريد تثبيت Bitdefender عليها.
- أضِف النص البرمجي Install-Bitdefender واضبطه ليتكرر يوميًا في الوقت المفضل لديك.
- وزّع السياسة.
أنشئ الحقل المخصص للعميل.
- انتقل إلى Settings > CRM > Custom Fields.
- أضِف حقلًا مخصصًا بالتفاصيل التالية:
- Name: Webroot Key
- Variable: webrootKey

املأ مفتاح Webroot لكل عميل.
- انتقل إلى عميل محدد.
- انقر فوق Custom Fields.

- عدّل Webroot Key.
- أدخل Webroot Key الذي تم استرجاعه من Webroot.

أنشئ ملف المثبّت.
- انتقل إلى Settings > Asset > Files.
- أضِف ملفًا بالتفاصيل التالية:
- File: قم بتحميل أحدث مثبّت MSI
- Variable: webrootInstaller
أنشئ النص البرمجي.
- انتقل إلى Scripts.
- أنشئ نصًا برمجيًا بالتفاصيل التالية:
- Name: Install-Webroot
- Content:
# Silently install Webroot
if($gorelo:client.webrootKey){
$WebrootService = Get-Service -Name 'WRSVC' -ErrorAction SilentlyContinue
if($WebrootService -eq $null){
msiexec /i $gorelo:file.webrootInstaller GUILIC=$gorelo:client.webrootKey CMDLINE=SME,quiet /qn /l*v install.log
}
}
انشر النص البرمجي عبر سياسة
- انتقل إلى Policies.
- عدّل سياسة موجودة تغطي الأصول التي تريد تثبيت Webroot عليها.
- أضِف النص البرمجي Install-Webroot واضبطه ليتكرر يوميًا في الوقت المفضل لديك.
- وزّع السياسة.
