This file contains 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
#!/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 |
This file contains 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 | |
# | |
# 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 |
This file contains 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 -WarningAction SilentlyContinue | |
Log-Activity -Message "Attempting to uninstall $application via script" -EventName "Uninstall Application" | |
wmic product where "name like '%%$application%%'" call uninstall /nointeractive |
This file contains 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
# Defines the '365 days old' (today's date minus 365) | |
$age = (Get-Date).AddDays(-365) | |
# Get all the files in the Downloads folder and subfolders | foreach file | |
Get-ChildItem -Path $env:SystemDrive\Users\*\Downloads -Recurse -Force | foreach{ | |
# if creationtime is 'le' (less or equal) than 365 days | |
if ($_.CreationTime -le $age){ | |
# Write-Output "Older than 365 days - $($_.name)" | |
# remove the item | |
Remove-Item $_.fullname -Force -Verbose |
This file contains 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
:: WARNING!!! This script will remove EVERY installed printer, their ports, and the unused drivers. | |
:: Use with caution. | |
:: You have been warned. | |
Cd \ | |
Cd Windows\System32 |
This file contains 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
<!-- | |
This template is for my personal use. It does contain links specific to my company that you will need to change. | |
There are also two image dependancies you will need to host yourself. | |
Templates are modified from Intercom https://www.intercom.com/help/en/articles/244-4-email-templates-to-choose-from | |
Searh for all instances of i.ibb and host the images yourself. only triangle and arrow are necessary. | |
<a href="https://imgbb.com/"><img src="https://i.ibb.co/b1W4VYK/triangle-8747882e9ef8882f9bc057241fd3c049.png" alt="triangle-8747882e9ef8882f9bc057241fd3c049" border="0"></a> | |
<a href="https://imgbb.com/"><img src="https://i.ibb.co/bRtHj0C/arrow-37f6774809df6fd083bfc98e9d562e23ca6ede618e2b5e10c042de88d2f858dd.png" alt="arrow-37f6774809df6fd083bfc98e9d562e23ca6ede618e2b5e10c042de88d2f858dd" border="0"></a> | |
--> | |
<!DOCTYPE html> |
This file contains 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
dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64 |
This file contains 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
dism /online /Enable-Feature /FeatureName:Internet-Explorer-Optional-amd64 |
This file contains 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
ECHO OFF | |
CLS | |
color 0e | |
TITLE udefrag - batch - quick optimize | |
%systemdrive%\temp\udefrag.exe -q -v -m --all-fixed |
This file contains 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
ECHO OFF | |
CLS | |
:MAIN | |
CLS | |
color 0e | |
TITLE gpupdate script with options | |
MODE con cols=55 lines=20 | |
ECHO 1 - gpupdate /force /sync /boot | |
ECHO 2 - gpupdate /force |
NewerOlder