Continuing logging of a DSC target after it restarts

This topic contains 4 replies, has 4 voices, and was last updated by  Zuldan 2 years, 3 months ago.

  • Author
    Posts
  • #25670

    Tim Pringle
    Participant

    Hello folks.

    Looking for some advice. When I'm manually applying a DSC configuration to another system, I'll enable -VERBOSE and use the -WAIT parameter to see what's happening on my screen. If the target system has to restart during execution of a configuration (e.g. after computer renamed), the logging stops. Is there a way to resume or start logging again after the target system has restarted and it begins executing further actions in it's configuration MOF?

  • #25671

    Dave Wyatt
    Moderator

    You'll need to look to the Desired State Configuration\Operational event log for that. Previous versions of the WMF 5.0 preview had a Connect-DscConfiguration cmdlet which would take that info and display it to you at the console (including verbose output, etc), but it's not in the latest April preview for some reason. Not sure if they're making changes to it, or removing it, or what. Hopefully it or something similar is back in before the final release.

  • #25704

    Tim Pringle
    Participant

    Thanks Dave.

    I'll put it on Connect as a feature request.

    Will paste Connect URL here and on Twitter once it's submitted

    cheers,

    Tim

  • #26347

    Stephen Owen
    Participant

    Hi Tim,

    Did you ever post that on Connect? I'd love to vote this up, as well!

  • #27223

    Zuldan
    Participant

You must be logged in to reply to this topic.