r/PowerShell • • Nov 23 '19

Script Sharing Sharing IT-ToolBox module

desert zealous homeless butter elderly connect voiceless compare touch sand

This post was mass deleted and anonymized with Redact

146 Upvotes

23 comments sorted by

View all comments

2

u/nostril_spiders Nov 24 '19

New-LogEntry: if I'm going to introduce a dependency for logging, I'm going to introduce PSFramework, which is much further developed than your code.

Most of the other functions: I'm never going to introduce a dependency for stuff like Test-IsValidPath, Test-IsDate, because these are already one-liners (or, in the case of Test-IsEmail Address, a regex pattern). It's functionality that's already in the .net BCL. So I think your target audience there is people who aren't versed in using the .net documentation. A better solution, imo, would be a .net cheat sheet.

SCP is something we do, and a good module for it is worth including in our dependencies. I'll be assessing your PowerSCP code in the next couple of months with a view to running it on our fleet of 90,000 Windows servers under support, so thank you for sharing that!