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
# ======================================== | |
# Author: Blake Drumm (limitless) | |
# Created: September 16th, 2024 | |
# Description: This script checks if Docker Desktop is running, starts it if necessary, and then pulls the latest Docker images and starts the containers. | |
# ======================================== | |
# --------------------------------------------------------- | |
# Variables | |
# --------------------------------------------------------- | |
$PathToDockerCompose = 'C:\Users\Blake Drumm\OneDrive\Documents\Adams-Media-Server' |
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
#Author: Blake Drumm (x-limitless-x) | |
#Created: November 18th, 2022 | |
# | |
#Description: This powershell script automatically closes any Unrar processes that hang and are considered "zombie" processes due to them causing no further processing. | |
$runningIds = $null | |
$lastWriteTime = $null | |
$fileToCheck = $null | |
$Minutes = 20 |
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
#Author: Blake Drumm | |
#Created: October 23rd, 2022 | |
#Modified: November 11th, 2022 | |
$ServerAddress = '<sabnzbd_weburl>' | |
$APIKey = '<sabnzbd_apikey>' | |
# Grab List of Duplicates | |
[array]$listOfNzbs = (((Invoke-WebRequest "$ServerAddress/api?mode=queue&output=json&apikey=$APIKey" -UseBasicParsing).Content | ConvertFrom-Json).Queue.Slots | | |
Group-Object -Property filename | |
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 OperationsManager | |
$instanceclass = Get-SCOMClass -DisplayName "Veeam VmWare" | |
Function Time-Stamp | |
{ | |
$TimeStamp = Get-Date -Format "MM/dd/yyyy hh:mm:ss tt" | |
return "$TimeStamp - " | |
} | |
$ErrorActionPreference = 'SilentlyContinue' | |
$Servers = Get-SCOMClassInstance | Where { ($_.DisplayName -match "^AS-.*$") -or ($_.DisplayName -match "^SC-.*$") -and ($_.DisplayName -notmatch "vmhost") } |
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
# ----------------------------------------------------- | |
# Variables Section | |
# ----------------------------------------------------- | |
<# | |
.SYNOPSIS | |
Convert-CSV for cointracking.info | |
.DESCRIPTION | |
Will import a CSV file from Daedalus and convert it to a csv file. Compatible with cointracking.info | |