powershell-module/Az.Tools.Migration/Resources/TestFiles/ScriptExample-ParameterSplatting4.ps1 (3 lines of code) (raw):

# example 4: array splatted arguments (not supported, but should not break parser) $ArraySplattedArguments = "test.txt", "test2.txt" Copy-Item @ArraySplattedArguments -WhatIf