In this recipe, we will extract user-defined assemblies and resave these back to the filesystem as DLLs.
We can use the
SampleDB database that we used in the previous recipe, or you can substitute this with any database that is accessible to you that has some user-defined assemblies.
These are the steps to extract user-defined assemblies:
#import SQL Server module Import-Module SQLPS -DisableNameChecking
bcpformat file. Add the following script and run:
$VerbosePreference = "Continue" $instanceName = "KERRIGAN" ...