Sure, here’s how you can find the Time to Live (TTL) for a DNS record on Windows and MacOS. Please...
This will dump all GPO’s into HTML files. Get-GPO -all | % { Get-GPOReport -GUID $_.id -ReportType HTML -Path "C:\MyExports\$($_.displayName).html"...
Find Active Users with PW Expires Date/Time: Import-Module ActiveDirectory Get-ADUser -SearchBase "DC=cordero,DC=me" -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False}...
Get-ADUser -Identity "kcordero" -Properties MemberOf | Select-Object -ExpandProperty MemberOf ...
1. Import the Active Directory module: Import-Module ActiveDirectory 2. To get the list of Active Directory sites: Get-ADReplicationSite -Filter...
# Author: Kerry Cordero # Version: 1.0.0 # Description: This script will check the Enabled SSL-TLS Protocols WinHTTP $Protocols =...
These scripts are an easy way to see if there are any older Windows devices in your domain. You can...
$lastWeek = (Get-Date).AddDays(-7) Get-ADComputer -Filter { whenCreated -ge $lastWeek } ...
Get-ADGroup -Filter * | Select-Object Name, GroupCategory, GroupScope | Format-Table -AutoSize...
Get-ADGroupMember "Domain ADmins" | Get-AdUser -Property LastLogonDate | select name,distinguishedName,LastLogonDate...