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