As a complement to the above answer, this is the native powershell equivalent:
docker ps -a -q | ForEach-Object {
$id = $_
$info = docker inspect $id | ConvertFrom-Json
$name = $info[0].Name.TrimStart("/")
$policy = $info[0].HostConfig.RestartPolicy.Name
"$name`t$policy"
}