# Right click on Server in Object Explorer ( SQL Management Studio)
# Select Start Powershell, In Powershell window, type in following command. replace c:\sqlscripts with your own folder
dir C:\sqlscripts\*.sql | foreach-object { invoke-sqlcmd -InputFile $_.FullName }
