dataplat / docs

The documentation for dbatools module. Issues with command doc and bugs should be reported to dataplat/dbatools.
https://docs.dbatools.io
15 stars 12 forks source link

SQL 2022 support #83

Closed MyKarpenko closed 1 year ago

MyKarpenko commented 1 year ago

Hi,

maybe I am ol an older version (installed a month ago) but it lools like some commends dont recognise SQL 2022 v16

For an instance

powershell -c "Export-DbaInstance -SqlInstance xxxx -Path C:\CodeSnapshots" -Force -Exclude Databases,LinkedServers,ResourceGovernor,ReplicationSettings Exception setting "TargetServerVersion": "Cannot convert null to type "Microsoft.SqlServer.Management.Smo.SqlServerVersion" due to enumeration values that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are "Version80,Version90,Version100,Version105,Version110,Version120,Version130,Version140,Version150"." At C:\Program Files\WindowsPowerShell\Modules\dbatools\1.1.146\allcommands.ps1:14407 char:25