SharpHound
SharpHound copied to clipboard
Update Template.ps1
What changed: Using the built in $PSBoundParameters dynamically enumerate over the flags provided.
Why: In doing so it prevents numerous conditional if statements, in conjunction with that allows for future variables to be implemented without additional conditional statements. It also allows for cleaner code.
Thank you for your consideration.
Man, I really wish I had known about this before. Thanks for the MR
Cleaning up some history stuff, is it possible to get this merged?
Thanks for your contribution @mwilco03! Will be included in next release