• If you append -Script to the end of the Join-SqlAvailabilityGroup command it should script it out for you. This could provide additional insight as to where it is trying to do this.

    Also to set a database I believe it would look similar to this:

    SQLSERVER:\SQL\MyComputer\MyInstance\Databases\AdventureWorks2008R2

    - Tony Sweet