Todd Lehmann

Results comments of Todd Lehmann

Okay... Why? What use case demands that all script execution stop when emitting debug messages? How does that use-case compare with the use case of being able to use -Debug...

Oh also, can you define "By design"? When I hear "by design" I think there is a specification somewhere that says "when you use -Debug we're going to inquire for...

Oh. Yes, it's usually an excellent indicator. Whoops. :\ The reasoning is actually there as well, which is awesome. "The Debug parameter overrides the value of the $DebugPreference variable for...

And what about the fact that "A" for "Yes to All" doesn't actually work? e.g. if I have multiple write-debug statements and hit "A" for the first one, I am...

This is what we found out. It was an RTFM moment. If you look at the Get-Help for the -ModuleName parameter, it explains this: `Optional string specifying the name of...

Found out this was because -ModuleName is the name of the module that is calling the mocked command, not the module in which the command resides. Thanks!

Hi all, Has this been released? If not is there a date?

That's what I'm using now. Thanks