powershell-module/Az.Tools.Migration/Resources/TestFiles/ScriptExample-ParameterSplatting6.ps1 (7 lines of code) (raw):
# example 6: hashtable splatted arguments with an ordered hashtable (supported)
$splattedParams = [ordered]@{
TargetName = $TargetName
Count = 5
IPv4 = $true
}
Test-Connection @splattedParams -Delay 3