Closed jbruett closed 7 years ago
@jbruett You'll get that when something is returned to pipeline that PScribo isn't expecting. I think you might need to change the $eipOut.add($eip)
line to $null = $eipOut.add($eip)
.
When you add an item to an ArrayList it returns the number of items in the array (your extraneous [System.Int32] 😉).
That was it...I'd been bitten by this before and forgot about the output issue. Thanks Iain
This code:
is presenting this error:
WARNING: [ 11:52:14:424 ] [ Document ] - Unexpected object 'System.Int32' in section 'sharedservices-dmz-vpc EIPs'.
Running PScribo 0.7.17.75