Skip to content

Mohammed Wasay

  • Home
  • Posts
    • Azure
      • Azure Active Directory
    • Office365 | M365
    • Programming
      • PowerShell
      • Python
    • Platform
      • Windows
        • Active Directory
        • SCCM
      • Mac
      • Linux
    • VMware
    • Storage
  • Contact
  • About
  • Get NordVPN
  • Client
    • Make a payment

search

Convert a Dynamic IP to Static

September 18, 2022October 18, 2018 by mo wasay

Working on a project where on some servers the DHCP assigned addresses needs to be converted to static. Since there is always more than one…I needed to script it. Here is a quick way to do it via PowerShell. Hope this helps!

Categories PowerShellTags adapter, Address, convert, default, DHCP, DNS, enable, gateway, how, ip, mask, order, powershell, search, server, Static, subnet, switch, to

My name is Mohammed Wasay I am part of the Global Digital Workplace Team at KPMG International. I define myself as a Hybrid Developer, Programmer, and Technical Consultant, who has a creative twist to innovate, inspire, and simplify solutions. I enjoy engaging with the community and customers around the world. Opinions and suggestions are my own.

    • Active Directory
    • Azure Active Directory
    • Information Technology
    • Linux
    • Mac
    • Office365 | M365
    • PowerShell
    • SCCM
    • SharePoint
    • VMware
    • Windows
    © 2023 Mohammed Wasay • Powered by WPKoi
    Scroll back to top