Skip to content

Instantly share code, notes, and snippets.

@julian-alarcon
julian-alarcon / remove-old-pc.ps
Created December 4, 2017 14:37
PowerShell script to get and remove old computers not connected to AD
# Script to regenerate list and remove old computers not logged to Domain Controller in 2 Months
$time = (Get-Date).AddMonths(-2)
Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties * | select name, distinguishedname,LastLogonDate| export-csv computers_2m.txt
Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties distinguishedname| Remove-ADObject -Recursive
@julian-alarcon
julian-alarcon / EnableVoLTEinPixel2Walleye.txt
Last active December 13, 2023 19:34
Enable VoLTE in Pixel 2 Walleye
It worked for my using Pixel 2 Walleye with Android March 2020 installation, i'm going to detail more this procedure, because it's hard to do it from scratch.
I also used information/files from here: [url]https://forum.xda-developers.com/pixel-2/how-to/guide-enable-volte-unsupported-carriers-t3892659[/url]
Steps with links
0. Remove any fingerprint/pin/lock pattern from your phone and keep it that way until the end. ALSO, UNLOCKING THE BOOTLOADER WILL WIPE ALL YOUR DEVICE (apps, photos, files, accounts) BE CAREFUL AND DO A BACKUP
1. Find the QPST installer (only available for Windows) (seems to be an internal Qualcomm software), I used version 2.7.474 from here [url]https://qpsttool.com/qpst-tool-v2-7-474[/url] . Save it and install it in your Windows machine.
2. Install adb tools Windows, macOS, Linux: [url]https://www.xda-developers.com/install-adb-windows-macos-linux/[/url]
@julian-alarcon
julian-alarcon / CleanUpSamsungApps.txt
Last active March 15, 2024 19:19
List uninstalled Apps Samsung Galaxy S21 SM-G991U1
Useful list: https://github.com/AlexQuiniou/remove-bloatware-galaxy-s10e
Hardware Samsung Galaxy S21 5G
Software: Android 12, One UI 4.0, Security Patch November 1 2021
Check if device is available
$ adb devices
List of devices attached
RAAA1008001 device