SplitArray

1.0.0

Splits an array into sub-arrays (chunks) with a configurable distribution strategy (Greedy/Even), optional padding, and pipeline support.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SplitArray -RequiredVersion 1.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name SplitArray -Version 1.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Rene Kreisbeck. All rights reserved.

Package Details

Author(s)

  • Rene Kreisbeck

Tags

Array Chunk Split Partition Utility Batch

Functions

Split-Array

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

1.0.0
- Initial release.
- Split-Array: splits an array into chunks by -ChunkSize (elements per chunk) or -MaxChunk (number of chunks).
- -Distribution parameter (Greedy/Even) controls how the remainder is spread across chunks.
- -Pad parameter fills the last chunk up to full size with a given value.
- Pipeline support.
- Empty input yields one empty chunk (by design).

FileList

Version History

Version Downloads Last updated
1.0.2 6 7/20/2026
1.0.1 11 7/20/2026
1.0.0 (current version) 4 7/20/2026