Skip to content

Instantly share code, notes, and snippets.

Import-Module $env:SyncroModule -WarningAction SilentlyContinue
Log-Activity -Message "Attempting to uninstall $application via script" -EventName "Uninstall Application"
wmic product where "name like '%%$application%%'" call uninstall /nointeractive
@focusmade
focusmade / power-options.ps1
Created December 3, 2021 19:14
configure an "always-on" power profile for laptops and desktops
Import-Module $env:SyncroModule
#
# configure an "always-on" power profile for laptops and desktops
#
#Set display sleep to 5 minutes when on AC
c:\windows\system32\powercfg.exe -change -monitor-timeout-ac 20
#Set display sleep to 5 minutes when on battery
c:\windows\system32\powercfg.exe -change -monitor-timeout-dc 5
#!/bin/bash
# Steps to clean Wacom files:
# 1. Disconnect your tablet from the computer.
# 2. Go to your Applications folder in Finder, and delete the Wacom Tablet folder.
# 3. Go to your Mac's main Library folder.
# 4. Check for and delete any of the following, if found:
# a. /Library/Application Support/Tablet
# b. /Library/Frameworks/WacomMultiTouch.framework
# c. /Library/Internet Plugins/WacomTabletPlugin.plugin