try -ErrorAction Stop to actually fail on error