Home Forums Programming Powershell restore-sqldatabase dynamic relocate files RE: restore-sqldatabase dynamic relocate files

  • That can be due to having different versions of SMO installed - did you see any of the posts on that? Changing the environment path variables is what I did before. Refer to the following about forcing the version or using the approach of changing the environment variables:
    Problems with RelocateFile property in the Restore-SqlDatabase cmdlet

    Sue