0

How to create usage and health data service application using powershell and with existing wss_logging database.

1
  • did my answer below help you?
    – Patrick
    Commented Sep 10, 2015 at 12:12

1 Answer 1

2

I did it like this:

a. At the PowerShell prompt, type the following and press Enter:

New-SPUsageApplication -Name "Usage and Health Data Collection"

b. At the PowerShell prompt, type the following and press Enter:

$proxy = Get-SPServiceApplicationProxy | where {$_.TypeName -eq "Usage and Health Data Collection Proxy"}

c. At the prompt, type the following and press Enter:

$proxy.Provision()

If it helps you, or maybe is exactly the answer please give it a vote up or mark it as the answer.

1
  • Thanks, that worked like a charm even for SharePoint Server 2016!
    – Benny Skogberg
    Commented Jun 19 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.