[CmdletBinding()]param( [Parameter(mandatory)] [string]$RemotePath, [switch]$NotOneLine, [string[]]$Remotes = 'All' ) Invoke-ViaAnsible -Command "cd $RemotePath",'Write-Output "$PWD `t"','git pull' -Remotes:$($Remotes.ToLower()) -OneLine:$(-not $NotOneLine)