Skip to content

Instantly share code, notes, and snippets.

@plembo
plembo / remoldpwshmods.md
Last active February 27, 2024 11:47
Remove Old PowerShell Modules

Remove Old PowerShell Modules

Warning: This can be a pretty destructive way to do things. YMMV!

Code by Jack Fruh (https://sharepointjack.com).

write-host "this will remove all old versions of installed modules"
write-host "be sure to run this as an admin" -foregroundcolor yellow
write-host "(You can update all your Azure RM modules with update-module Azurerm -force)"
@mrofi
mrofi / mysql_backup.config
Last active February 20, 2023 13:41 — forked from tleish/mysql_backup.sh
Bash Script to backup all MySQL databases
[client]
user = "mysql_user"
password = "mysql_password"
host = "localhost"
@connorjan
connorjan / shairport-sync-install.md
Last active December 16, 2023 13:22
shairport-sync installation for a Raspberry Pi
@tleish
tleish / mysql_backup.sh
Last active April 24, 2024 13:00
Bash Script to backup all MySQL databases
#!/bin/bash
#==============================================================================
#TITLE: mysql_backup.sh
#DESCRIPTION: script for automating the daily mysql backups on development computer
#AUTHOR: tleish
#DATE: 2013-12-20
#VERSION: 0.4
#USAGE: ./mysql_backup.sh
#CRON:
# example cron for daily db backup @ 9:15 am