From 8cb95bd2f2d4f7c07e142b4955ad18a6af5d9862 Mon Sep 17 00:00:00 2001 From: Avi Levin Date: Wed, 20 Dec 2017 17:38:17 -0600 Subject: [PATCH] Update Join-Object.ps1 This seems pointless, but can be handy when handling variable input in a script. --- Join-Object.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Join-Object.ps1 b/Join-Object.ps1 index 6549c792..4bf2ce30 100644 --- a/Join-Object.ps1 +++ b/Join-Object.ps1 @@ -200,10 +200,12 @@ ( [Parameter(Mandatory=$true, ValueFromPipeLine = $true)] + [AllowEmptyCollection()] [object[]] $Left, # List to join with $Left [Parameter(Mandatory=$true)] + [AllowEmptyCollection()] [object[]] $Right, [Parameter(Mandatory = $true)] @@ -493,4 +495,4 @@ } } } -} \ No newline at end of file +}