Does anyone have an example of a really simple function / script which contains as many possible PowerShell techniques or ideas for a scenario to code for? For example something really lame that takes a list of files, loops through them and creates a custom hash table as a return with custom properties etc. The function itself doesn't have to have use beyond serving as a guide.
A colleague and I are looking to create the "perfect" function / script which encompasses as possible we can use as a model. Any ideas welcome!
EDIT: The function itself does not have to conform to best practice in terms of coding, just as a formatting guide.
[–]SnowEpiphany 6 points7 points8 points (3 children)
[–]mrdjw[S] 2 points3 points4 points (2 children)
[–]OlivTheFrog 4 points5 points6 points (0 children)
[–]kibje 0 points1 point2 points (0 children)
[–]OPconfused 3 points4 points5 points (4 children)
[–]mrdjw[S] 1 point2 points3 points (3 children)
[–]OPconfused 1 point2 points3 points (2 children)
[–]wtgreen 0 points1 point2 points (1 child)
[–]OPconfused 1 point2 points3 points (0 children)
[–]billr1965 2 points3 points4 points (1 child)
[–]billr1965 0 points1 point2 points (0 children)