Skip to content

Instantly share code, notes, and snippets.

Julian Alarcon julian-alarcon

Block or report user

Report or block julian-alarcon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@julian-alarcon
julian-alarcon / remove-old-pc.ps
Created Dec 4, 2017
PowerShell script to get and remove old computers not connected to AD
View remove-old-pc.ps
# 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 / gist:244b3ba2f3978afa6fa0cbd9b91f1da0
Created Oct 31, 2017
Bloquear muro de registro de usuario en El Espectador en uBlock
View gist:244b3ba2f3978afa6fa0cbd9b91f1da0
! 10/26/2017, 4:31:29 PM https://www.elespectador.com/noticias/
www.elespectador.com##.tp-modal
! 10/26/2017, 4:31:35 PM https://www.elespectador.com/noticias/
www.elespectador.com##.tp-active.tp-backdrop
You can’t perform that action at this time.