Windows: In this example you can see the One Drive is using port 443. C:\>netstat -aon | findstr "443" TCP...
WINDOWS EVENT IDs USED Windows Logs > Security: 4624 – Logon Success 4768 – Authentication Ticket Granted 4769 – Service...
Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title | select DisplayName, EmailAddress, Title | Export-CSV "C:\Scripts\Email_Addresses.csv" ...
These scripts are an easy way to see if there are any older Windows devices in your domain. You can...
Get-ADGroup -Filter * | Select-Object Name, GroupCategory, GroupScope | Format-Table -AutoSize...
I wrote a post about using iperf, a tool to test network speed and throughput. I just want to quickly...
Command Prompt: for /L %i in (1,1,254) do @ping -n 1 4.2.2.%i | find "Reply" Powershell: 1..254 | % {...
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-ADGroupMember "Domain ADmins" | Get-AdUser -Property LastLogonDate | select name,distinguishedName,LastLogonDate...