ListFunctions
4.0.0
A module for testing, searching, and building generic .NET collections: List[T], HashSet[T], SortedSet[T], and Dictionary[TKey, TValue]. Equality comparers, hash code functions, and sort orders are ordinary PowerShell script blocks, so you don't have to write and compile an IEqualityComparer[T] or IComparer[T] class.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
Copyright (c) 2020-2026 Yevrag35, LLC.
Package Details
Author(s)
- Mike Garvey
Tags
All Any Array Assert bool Collection compare Condition count Enumerable equality Find HashSet index Last Linq List Predicate set sort Test Where Convert ConvertTo
Cmdlets
Test-AllObject Test-AnyObject Find-Index Find-LastIndex New-Dictionary New-HashSet New-List New-SortedSet ConvertTo-Dictionary
PSEditions
Dependencies
This module has no dependencies.
Release Notes
4.0.0 has breaking changes. The README at https://github.com/Yevrag35/PowerShell-ListFunctions describes how each command works.
- ListFunctions runs on Windows PowerShell 5.1 and on PowerShell 7.6 or later. In PowerShell 7.5 or earlier, the import fails with an error that says so.
- Assert-AnyObject, Assert-AllObject, Find-IndexOf, and Find-LastIndexOf are renamed Test-AnyObject, Test-AllObject, Find-Index, and Find-LastIndex. The old names still work as aliases.
- Each command has help, so Get-Help shows its description, parameters, and examples.
- -GenericType, -KeyType, and -ValueType complete type names when you press Tab.
- Many bug fixes change behavior: how the commands handle $null and pipeline input, convert elements to the collection's type, compare strings, and report errors from script blocks.
FileList
- ListFunctions.nuspec
- Core\ListFunctions.Engine.dll
- Core\ListFunctions.Next.dll
- Core\ZLinq.dll
- Core\en-US\ListFunctions.Next.dll-Help.xml
- Desk\ListFunctions.Engine.dll
- Desk\ListFunctions.NETFramework.dll
- Desk\Microsoft.Bcl.Memory.dll
- Desk\System.Buffers.dll
- Desk\System.Collections.Immutable.dll
- Desk\System.Memory.dll
- Desk\System.Numerics.Vectors.dll
- Desk\System.Runtime.CompilerServices.Unsafe.dll
- Desk\ZLinq.dll
- Desk\en-US\ListFunctions.NETFramework.dll-Help.xml
- ListFunctions.psd1
- ListFunctions.psm1