You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Rename-D365ComputerName with an invalid -NewName parameter (e.g. d365fo.tools), the rename fails with an error message saying "Rename-Computer : Skip computer 'MININT-57EHFHJ' with new name 'd365fo.tools' because the new name is not valid.".
Despite this, the the rest of the cmdlet is executed.
Another run of the cmdlet with a valid name renames the computer correctly, but now execution of the rest of the cmdlet causes issues: "Something went wrong while working against the database. | Exception calling "ExecuteNonQuery" with "0" argument(s): "The server 'MININT-57EHFHJ' does not exist. Use sp_helpserver to show available servers.
The server 'd365fo-tools' already exists.""
When running Rename-D365ComputerName with an invalid
-NewName
parameter (e.g.d365fo.tools
), the rename fails with an error message saying "Rename-Computer : Skip computer 'MININT-57EHFHJ' with new name 'd365fo.tools' because the new name is not valid.".Despite this, the the rest of the cmdlet is executed.
Another run of the cmdlet with a valid name renames the computer correctly, but now execution of the rest of the cmdlet causes issues: "Something went wrong while working against the database. | Exception calling "ExecuteNonQuery" with "0" argument(s): "The server 'MININT-57EHFHJ' does not exist. Use sp_helpserver to show available servers.
The server 'd365fo-tools' already exists.""
Not sure yet if this breaks the environment.
Gist with full PowerShell session
The text was updated successfully, but these errors were encountered: