Monthly Archives: December 2022

Some useful Powershell One Liners

Find Public IP address (Invoke-RestMethod ipinfo.io/json).ip Traceroute tnc google.com -tr Check if a port is open tnc google.com -p 443 Check if a specific update is installed Get-Hotfix|Where-Object {$_.HotfixID -match "KB5018410"} Search for a specific file type in a directory … Continue reading

Posted in Windows | Comments Off on Some useful Powershell One Liners