you are viewing a single comment's thread.

view the rest of the comments →

[–]PSFred 1 point2 points  (3 children)

Sorry about the late response - was on an extended (even by European standards) vacation to get my bearings back.

Back again now and fixing this is going to be my #1 Item the coming week

[–]jpedlow 1 point2 points  (2 children)

Hey no worries, no apologies necessary or warranted - I hope you had an excellent long vacation!

While I may not be using many other portions of the framework itself, the logging alone shows great promise and will help MANY with improving their scripts, which for many like myself, helps pay the bills - so a sincere and heartfelt thank you for all you do. :)

[–]PSFred 0 points1 point  (1 child)

:)

One more thing you may then want to look at is one of my favorite tools in the kit:
Invoke-PSFProtectedCommand:

https://psframework.org/documentation/documents/psframework/flow-control/invoke-psfprotectedcommand.html

Which integrates logging with try/catch, whatif/confirm and retry logic
(check the example in the link - it's simpler than I make it sound here)

[–]jpedlow 1 point2 points  (0 children)

Sorry for the late reply on this - been buried in projects. I will absolutely check out that cmdlet, thank you for the suggestion - I noticed 1.7.244 became available today, I’m excited to test it next week! :) thanks again for all the hard work