Create new service application from existing sharepoint install

To create a new service application from an existing SharePoint install, you can follow these steps:

Prerequisites:

Step 1: Open the SharePoint Management Shell

Step 2: Connect to the SharePoint farm

Step 3: Create a new service application

For example:

New-SPServiceApplication -Name "My New Service App" -ApplicationPool "My App Pool" -DatabaseName "My Service App DB"

Step 4: Configure the service application

For example:

Get-SPServiceApplication -Name "My New Service App" | Set-SPServiceApplication -DatabaseName "My Service App DB"

Step 5: Start the service application

For example:

Start-SPServiceApplication -Name "My New Service App"

That's it! You've created a new service application from an existing SharePoint install.