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 Sep 10 '15 at 12:12
Add a comment
|
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.