It is important to mention that as of version 18 of SQL Server, the “-P” parameter has been discontinued. This means that this parameter is no longer supported for use in SQL Server operations starting with this release.
Consequently, any automation that previously used this parameter will need to be updated to operate through user simulations. Therefore, all tasks must be planned and implemented considering this change.