This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download the installer | |
$source = "https://rmm.syncromsp.com/GetThisURLfromYourCustomerDetailPageAndPutItHere.exe" | |
$destination = "C:\temp\syncro-installer.exe" | |
# Check if Invoke-Webrequest exists otherwise execute WebClient | |
if (Get-Command 'Invoke-Webrequest'){ | |
Invoke-WebRequest $source -OutFile $destination | |
} else { | |
$WebClient = New-Object System.Net.WebClient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.time.* | |
definition( | |
name: "Laundry Monitor II", namespace: "HDFLucky", author: "Mr. Lucky", | |
description: "This application is a modification of the SmartThings 'Laundry Monitor' SmartApp. Instead of using a vibration sensor, it utilizes Power (wattage) sensing.", | |
category: "My Apps", | |
iconUrl: "https://dl.dropboxusercontent.com/u/52901840/laundry.png", | |
iconX2Url: "https://dl.dropboxusercontent.com/u/52901840/[email protected]", | |
iconX3Url: "https://dl.dropboxusercontent.com/u/52901840/[email protected]") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module $env:SyncroModule | |
# this depends on bemcli being installed! | |
#Setting default CLI | |
import-module bemcli | |
#Getting Alerts | |
$Alerts = Get-BEAlert | |
#Looping through the alerts and setting them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module $env:SyncroModule | |
$Date=Get-Date; $Date=$Date.AddDays(-1).ToShortDateString() | |
$WBS=Get-WBSummary | |
$LastBackupResult=$WBS.LastBackupResultDetailedHR | |
$LastSuccessfulBackup=$WBS.LastSuccessfulBackupTime.ToShortDateString() | |
$LastBackup=$WBS.LastBackupTime | |
$Versions=$WBS.NumberOfVersions | |
$ErrorDesc=Get-WBJob -Previous 1; $ErrorDesc=$ErrorDesc.ErrorDescription |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module $env:SyncroModule | |
# Create RMMAlerts when a backup fails | |
$event = Get-EventLog "Veeam Backup" -newest 1 -After (Get-Date).AddDays(-1)| Where-Object {$_.EventID -eq 0} | |
if($event.entrytype -eq "Error") { | |
write-host "We got an event that is an error from Veeam Backup!" | |
Rmm-Alert -Category "veeam_backup_failed" -Body "Veeam Backup Failed on $(%computername%) - message: $($event.message)" | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module $env:SyncroModule | |
# Silent Install CCleaner | |
# http://www.piriform.com/ccleaner/download | |
# Path for the workdir | |
$workdir = "c:\temp\" | |
$sixtyFourBit = Test-Path -Path "C:\Program Files (x86)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> </p> | |
<p><span style="font-size: 20px;">Hey {{customer_first_name}}!</span></p> | |
<p> </p> | |
<p><span style="font-size: 20px;">It's been a few days since you picked up your device. We would love to know how the repair went and how it has settled since then. </span></p> | |
<table style="height: 370px;" width="495"> | |
<tbody> | |
<tr> | |
<td><a title="Thumbs Up!" href="YOURWEBSITE/reviews"><img src="https://i.imgur.com/tMoWjMp.png" alt="Thumb Up" width="280" height="280" /></a></td> | |
<td><a title="Thumbs Down!" href="https://goo.gl/forms/YOURGOOGLEFORMHERE"><img src="https://i.imgur.com/Y8udxX8.png" alt="Thumb Down" width="280" height="280" /></a></td> | |
</tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"status":"Resolved"}' https://subdomain.repairshopr.com/api/v1/tickets/TICKET_ID_OR_NUMBER?api_key=YOUR_API_KEY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
require 'time' | |
require "net/https" | |
require "uri" | |
# put this file in same folder; https://www.dropbox.com/s/etugzo0utqbr5gv/seatbelt.mp4?dl=0 | |
line1 = "#{Time.now.strftime("%b %e ")}" | |
line2 = "#{Time.now.strftime("%l : %M %P")}" | |
puts `figlet #{line1}` | |
puts `figlet #{line2}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zlawey0 | eseldner1 | wcasaccio2 | eajam3 | nnellies4 | spidgen5 | mknagges6 | stortice7 | rmoscrop8 | cravenhill9 | tgainseforda | fvannuccinib | abrookesbiec | hflintuffd | winggalle | lizakofff | bhyndeg | freadwinh | rpirrii | fkopjej | dparncuttk | oboutellierl | gfrederickm | dletfordn | dgratlando | eelderfieldp | vregelousq | cportwainer | alossmans | drhoadest | jtymu | rellcockv | hbrettonw | vpaddefieldx | nregoy | fdyetz | ikarlicek10 | jkilvington11 | dspellsworth12 | msprott13 | sollier14 | kverrillo15 | ccregeen16 | treinbach17 | abreitling18 | gledington19 | cchatell1a | aelliff1b | menston1c | cmatis1d | egrimwad1e | mliley1f | glaurent1g | ejoffe1h | pkittiman1i | egilhooley1j | covershott1k | labilowitz1l | ssimmell1m | blafrentz1n | zbawcock1o | kdaughtry1p | lscrange1q | anovacek1r | sdyett1s | agamblin1t | cjozwik1u | rhellwig1v | rstutter1w | czotto1x | dwheelband1y | dfrediani1z | cjoerning20 | aduddell21 | bminer22 | phackworth23 | dhazel24 | lhorsell25 | tblais26 | rconner27 | kbeadman28 | acorradino29 | tbarling2a | pvyse2b | ccollingridge2c | bpo2d | amille2e | ddudek2f | egaskell2g | fnarramor2h | jgawthorp2i | cbiffen2j | wcrossfeld2k | epeyton2l | cblakely2m | rrol |
---|