title: Running a Powershell script, restarting and then continue to run
body: <p>I'm just starting out with the very basics of Powershell scripting and am looking at creating a script to one set of instructions then restart and continue running the rest of the script.</p>
  
  <p>The first part of the script makes changes to the registry, firewall and ip/dns settings, then renames the server(win2012). Then a restart is needed to continue with the installation of ad domain services and forest creation.</p>
  
  <p>I've had a look around but don't really understand the concepts.  Can anyone recommend a very easy way to implement the reboot and resume.</p>