This is at best a work around since it prevents a "Confirm replace" by removing the file first. Sure, this may work but is not an ideal soluition.
If(Test-Path $filepath) { Remove-Item $filepath } $workbook.SaveAS($filepath)