Skip to content

Instantly share code, notes, and snippets.

View udarag's full-sized avatar

Udara Gunawardena udarag

View GitHub Profile
@udarag
udarag / JAMF_silentinstall.sh
Last active July 5, 2024 14:00
Backblaze Mac Shell Deployment Script
#!/bin/bash
# The following parameters are pulled directly from the "Parameter Values" section of your Backblaze deployment policy.
# Please make sure they are filled out respectively prior to your push
computername="$2"
username="$3"
groupid="$4"
grouptoken="$5"
email="$6" #If email is entered in parameters, script will skip over using JAMF API, make sure related password is entered as well
region="$7" #Specify if account is to be deployed in specific region [us-west or eu-central]
@udarag
udarag / msi_silentinstallB1.ps1
Created September 21, 2021 22:04
Backblaze Windows Powershell Deployment Script
param(
[string] $groupID = "",
[string] $groupToken = "",
[string] $userEmail = "",
[string] $workingDirectory,
[string] $uninstall = "false"
)
#Create log if it doesnt already exist
$LOGNAME = "Backblaze Powershell Deployment"