When running, receive following:
A parameter cannot be found that matches parameter name 'ApplicationIntent'.
+ CategoryInfo : InvalidArgument: (:) [], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound
Current Versions:
PS C:> Get-Host | Select-Object Version ; Get-Module SqlServer
Version
5.1.22581.1
21.1.18226
Can't figure out what I'm missing.
eta:
PS C:\Users\Desktop\sql_diagrams> sqlcmd -?
Microsoft (R) SQL Server Command Line Tool
Version 15.0.2000.5 NT