🙋♂️ INFO: If you have fixes/suggestions to for this doc, please comment below.
🌟 STAR: This doc if you found this document helpful.
; my_ie_proxy.ahk | |
;################################################################################# | |
; Enable/Disable IE Proxy with GUI | |
;################################################################################# | |
; ref: //autohotkey.com/board/topic/101854-switch-proxy-on-or-off/?p=634033 | |
global AddressPort = "proxy.myproxyprovider.com:1234" | |
Gui, Add, Text, x20 cBlue, %AddressPort% | |
Gui, Add, Button, x26 y20 w100 h30 Gon , I'm at work |
; set_ie_proxy.ahk | |
;################################################################################# | |
; Enable/Disable IE Proxy | |
;################################################################################# | |
; ref: https://autohotkey.com/board/topic/101854-switch-proxy-on-or-off/?p=633874 | |
SetProxy("proxy.myproxyprovider.com:1234",1) | |
,HostProxy=RegRead(,,"ProxyServer") | |
,ProxyStatus=RegRead(,,"ProxyEnable") |
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗ | |
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗ | |
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝ | |
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝ | |
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║ | |
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ | |
# | |
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗ | |
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝ | |
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗ |
# https://stackoverflow.com/questions/43690336/powershell-to-read-single-value-from-simple-ini-file | |
function Get-IniFile | |
{ | |
param( | |
# Required parameter specifying the path to the INI file. | |
[parameter(Mandatory = $true)] [string] $filePath | |
) | |
$anonymous = "NoSection" | |
// Sheet 1 - Description,Category | |
// Sheet 2 - CC Transactions. | |
// Run main() with Sheet 2 active. | |
function insertTitle(sheet, destinationColumnName, title) { | |
console.log(destinationColumnName) | |
var titleCell = sheet.getRange(destinationColumnName + "1"); | |
titleCell.setValue(title); | |
} |
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗ | |
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗ | |
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝ | |
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝ | |
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║ | |
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ | |
# | |
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗ | |
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝ | |
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗ |
# Removes Webroot SecureAnywhere by force | |
# Run the script once, reboot, then run again | |
# Webroot SecureAnywhere registry keys | |
$RegKeys = @( | |
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\WRUNINST", | |
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WRUNINST", | |
"HKLM:\SOFTWARE\WOW6432Node\WRData", | |
"HKLM:\SOFTWARE\WOW6432Node\WRCore", | |
"HKLM:\SOFTWARE\WOW6432Node\WRMIDData", |
# RESET OFFICE ACTIVATION STATE | |
# https://docs.microsoft.com/en-us/office/troubleshoot/activation/reset-office-365-proplus-activation-state | |
# by: https://gist.github.com/mark05e | |
# | |
# Lines to look out for: | |
# > The four steps above can be automated using OLicenseCleanup.vbs. Simply download and run the script with elevated privileges. | |
# > To clear all WAM accounts associated with Office on the device, download and run the signoutofwamaccounts.ps1 script with elevated privileges. | |
# > To automate WPJ removal, download WPJCleanUp.zip, extract the folder, and run WPJCleanUp.cmd. | |