Install-WindowsFeature -Name UpdateServices-Services,UpdateServices-DB -IncludeManagementTools
You can get away with not uninstalling WSUS entirely. Stop the related services, delete the DB and run the post-install.
stop-service WSUSService, W3SVC
.\wsusutil.exe postinstall SQL_INSTANCE_NAME=”DC1\SQL2008″
staer-service WSUSService, W3SVC
It’s also recommended to delete the MMC console data as that can sometimes prevent the postinstall from creating the database. This can be found here: Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.

Now we need to use WSUSUtil again to not only specify the Content directory, but also to specify the SQL Server database that I want to use for my WSUS server. The WSUS server must be on a domain for the remote SQL Server database build to work. If it isn’t, you will get a message that states the host is unknown.

When you open the WSUS console, you will be prompted with the initial setup wizard. Go through the configuration as desired.

Helpful Resources
Recreating the SUSDB and WSUS Content folder for a Windows Server 2012 based WSUS computer