Posted in Lync Server 2013, Skype for Business

Script: Creating Lync or SfB Databases with Specific Path

Install-CsDatabase
Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn atl-sql-001.litwareinc.com -SqlInstanceName rtc -DatabasePaths “G:\CSDB”

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn atl-sql-001.litwareinc.com -DatabasePaths “E:\CSLog”,”F:\CSLog”,”G:\CSDB”

Install-CsDatabase -DatabaseType Monitoring -SqlServerFqdn LYNCCLUS01.litwareinc.com -SqlInstanceName SGLYNCMON -DatabasePaths I:\MonitoringLogs,H:\MonitoringData

Install-CsDatabase -DatabaseType Archiving -SqlServerFqdn LYNCCLUS01.litwareinc.com -SqlInstanceName SGLYNCARC -DatabasePaths I:\ArchivingLogs,H:\ArchivingData

 

Uninstall-CsDatabase

Uninstall-CsDatabase -DatabaseType Monitoring -SqlServerFqdn LYNCCLUS01.litwareinc.com -SqlInstanceName SGLYNCMON
Uninstall-CsDatabase -DatabaseType Archiving -SqlServerFqdn LYNCCLUS01.litwareinc.com -SqlInstanceName SGLYNCARC

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