:wrench: :hammer: A set of PowerShell functions you might use to enhance your own functions and scripts or to facilitate working in the console. Most should work in both Windows PowerShell and PowerShell 7, even cross-platform. Any operating system limitations should be handled on a per command basis. The Samples folder contains demonstration script files
MIT License
901
stars
112
forks
source link
Fixed Error from: Get-ParameterInfo using .Count #116
It explicitly calls propertycount, to prevent errors when there is a key named count ( The dictionary key count was shadowing the property of the dictionary )
Fixed #115 Error: Cannot compare "System.Management.Automation.ParameterMetadata" because it is not IComparable.
Created a Pester5 test to confirm it's working
Converted non-interpolated quotes to single quotes
property
count
, to prevent errors when there is akey
namedcount
( The dictionary keycount
was shadowing the property of the dictionary )Cannot compare "System.Management.Automation.ParameterMetadata" because it is not IComparable
.