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 /
Created Dec 4, 2017
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 / 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
! 10/26/2017, 4:31:35 PM
You can’t perform that action at this time.