18 lines
266 B
PowerShell
18 lines
266 B
PowerShell
|
function Write-ArrayToOutput {
|
|||
|
<#
|
|||
|
.SYNOPSIS
|
|||
|
Iterates an array of items and writes them out.
|
|||
|
#>
|
|||
|
|
|||
|
[CmdletBinding()]
|
|||
|
Param(
|
|||
|
[Parameter(Mandatory=$true)]
|
|||
|
[object]$items
|
|||
|
)
|
|||
|
|
|||
|
$items | ForEach-Object {
|
|||
|
Write-Output $_
|
|||
|
}
|
|||
|
}
|
|||
|
|