Exporting Views Definition Using Dba Tools from Synapse Serverless Database

Exporting Views Definition Using Dba Tools from Synapse Serverless Database

i am able to export it but there are different schemas and i want to export only specific schema views.

below is the dba tools script using. How can i add filter in below statement to get only specific schema views.

Get-DbaDbview -SqlInstance $server -ExcludeSystemView | Export-DbaScript -FilePath C:\Scripts\Views.sql -Append

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.