Posted On March 31, 2019

ipToHostname

kimconnect 0 comments
blog.KimConnect.com >> Codes >> ipToHostname
Get-Content C:\Users\kimconnect\Desktop\ipList.txt | ForEach-Object {([system.net.dns]::GetHostByAddress($_)).hostname}

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Resolving URL to Public IP

# URL can be with http, https, full paths, or just domain $url='https://google.com/domains' # This…

PowerShell: Expand Volume of Virtual FileServer Role

Option 1: Expanding disk of a Virtual Machine in Hyper-V # ExpandVolumeVirtualFileServerRole.ps1 # Update these…

Script to Push Files to Remote SFTP Server

# 1. Install WINSCP and include it in the %PATH% environmental variables# 2. Run this…