Chris Gardner

Results 54 comments of Chris Gardner

I break out the validation into a dedicated function and then just call that from the ValidateScript so it's more readable. The function then Throws a readable error message if...

@erikgraa I use private functions as the user never needs to call them. You can do the validation in the begin block but that's got trade offs to it (the...

Either should work fine but you'll need -EA Stop. I'm just using Throw since the code is a little old and I haven't converted to using $PSCmdlet.ThrowTerminatingError() yet.

For Windows you might want to look at BetterCredentials for storing creds or just export them as clixml, they'll only be usable by the same user on the same machine....

> > Have the test and analyze steps depend on the build step. > > There is a drawback to this approach. The test function needs to import the module....

Is there any progress on getting this into the gallery. I'd love to start using this but without it being in the gallery I can't really add it to my...

I'd rather have the machine reboot than have the service restart, especially with the bug in #31 being a real possibility. If the LCM isn't configured to let the machine...

@jnury did you make much progress on this?

I've got most of the work done on my fork and just need further testing of it. I'll try to get that done in the next week or two and...

I've no idea how it happened but Windows definitely doesn't like it. I'm going to fix it in WSL when I get a chance this weekend. I'd ignore it for...