• Skip to primary navigation
  • Skip to content
  • Skip to footer
LazyWinAdmin LazyWinAdmin
  • Blog
  • Topics
  • Projects
  • CV
  • About
    Resolve a DNS Entry with PowerShell
    1. Home /
    2. 2017 /
    3. 03 /
    4. Resolve a DNS Entry with PowerShell

    Resolve a DNS Entry with PowerShell

    less than 1 minute read

    Here is one way to resolve a DNS Entry usng .NET

    [System.net.DNS]::resolve('SERVER')
    

    Tags: networking, powershell, tips

    Published: March 29, 2017 · Updated: November 5, 2026

    Get new posts
    Subscribe via RSS to get new posts in your feed reader.

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    Leave a comment

    You may also enjoy

    PowerShell - Executing code at specific times

    1 minute read

    Someone recently asked me how to trigger code at specific times without leveraging the scheduled tasks

    PowerShell Tip: Parse a date inside a string

    2 minute read

    I was recently parsing a bunch of logs where the date and time were in a format that Get-Date couldn’t interprete…

    Remove a PowerShell Object property

    less than 1 minute read

    In this article we’ll see how to remove a property from a Powershell Object

    Retrieving the parameters used to run a script

    less than 1 minute read

    When troubleshooting scripts, it comes handy to be able to log which parameters were used to invoke a script or a function. Here is one way to retrieve the i...

    • Follow:
    • X
    • LinkedIn
    • GitHub
    • Archive
    • Resources
    • Disclaimer
    • Feed
    © 2026 LazyWinAdmin. Powered by Jekyll & Minimal Mistakes.