title: Setting IP address from a file with Desired State Configuration DSC
body: <p>I need to write a Desired State Configuration (DSC) that ensures the private IP address of my Windows VM stays the same at boot.</p>
  <p>My machine is used by people who might accidentally change or renew the IP address and that breaks my environment. So it is necessary that the machine always boots with the initial IP address which was assigned by the DHCP. (I don't have access to the DHCP server).</p>
  <p>I have a script that saves the original IP into the <code>ipaddress.txt</code> file.</p>
  <p>I'm very new to windows configuration and Powershell so any help is very appreciated.</p>
  <p>Thanks a lot!</p>