Command line to rebuild Sql master database

More for me than you.  If a cluster, make sure the resource is offline or it will error.

F:\en_sql_server_2012_enterprise_edition_x86_x64_dvd_813294\Setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=InstanceName /SQLSYSADMINACCOUNTS=domain\User /SAPWD=P@55w0rd1 /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: