Continuing logging of a DSC target after it restarts

Welcome Forums DSC (Desired State Configuration) Continuing logging of a DSC target after it restarts

This topic contains 4 replies, has 4 voices, and was last updated by

 
Participant
3 years, 5 months ago.

  • Author
    Posts
  • #25670

    Participant
    Points: 60
    Rank: Member

    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

    Member
    Points: 0
    Rank: Member

    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

    Participant
    Points: 60
    Rank: Member

    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

    Participant
    Points: 1
    Rank: Member

    Hi Tim,

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

  • #27223

    Participant
    Points: 0
    Rank: Member

The topic ‘Continuing logging of a DSC target after it restarts’ is closed to new replies.