$dnsServers = (Resolve-DnsName -Name e-ins.net -Type NS).NameHost Resolve-DnsName -Name _ldap._tcp.dc._msdcs.e-ins.net -Type SRV | Where-Object {$_.NameTarget -in $dnsServers} ...
Get-ADUser -Identity "kcordero" -Properties MemberOf | Select-Object -ExpandProperty MemberOf ...
# Author: Kerry Cordero # Version: 1.0.0 # Description: This script prompt for the ASN and output the IP Subnet...
There are three python files. 1. cli-config-changer.py = This is the main file that you run 2. config_file.py = These...
MANUAL whois -h whois.cymru.com " -v [IP_ADDRESS]" whois -h whois.radb.net -- '-i origin ASXXXXX | grep -Eo "([0-9.]+){4}/[0-9]+" PYTHON...
To find the Flexible Single Master Operations (FSMO) roles in an Active Directory (AD) environment using PowerShell, you can use...
Get-ADGroupMember "Domain ADmins" | Get-AdUser -Property LastLogonDate | select name,distinguishedName,LastLogonDate...
# Author: Kerry Cordero # Version: 1.0.0 # Description: This script searches a text file "dr-dns.txt" for FQDNs, checks the...
When looking at logs, they are usually UTC. This script helps convert the time zone from EST to UTC &...
# Author: Kerry Cordero # Version: 1.0.0 # Description: This script will scan both Internal and External DNS import dns.resolver...