title: When are data sections evaluated?
body: <p><strong>When are PowerShell <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_data_sections" rel="noreferrer">data sections</a> evaluated?</strong></p>
  
  <p>Specifically, are they only ever evaluated once at the point of runtime definition/loading?  Or are they evaluated on every execution of the containing function, even if it has already been defined/loaded?</p>
  
  <p>I'm assuming that the containing context is a function or advanced function that will be called multiple times in a single session after being defined/loaded, rather than a script file that would have to be reloaded on every invocation (as far as I understand, anyway).</p>