Update install-windows_ta.ps1
This commit is contained in:
@@ -9,7 +9,7 @@ If (test-path "C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_wind
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Install Windows TA (this only needs to be done on the WEF server)
|
# Install Windows TA (this only needs to be done on the WEF server)
|
||||||
$windowstaPath = "C:\vagrant\resources\splunk_forwarder\splunk-add-on-for-microsoft-windows_500.tgz"
|
$windowstaPath = "C:\vagrant\resources\splunk_forwarder\splunk-add-on-for-microsoft-windows_700.tgz"
|
||||||
$inputsPath = "C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\local\inputs.conf"
|
$inputsPath = "C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\local\inputs.conf"
|
||||||
Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing the Windows TA"
|
Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing the Windows TA"
|
||||||
Start-Process -FilePath "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" -ArgumentList "install app $windowstaPath -auth admin:changeme" -NoNewWindow
|
Start-Process -FilePath "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" -ArgumentList "install app $windowstaPath -auth admin:changeme" -NoNewWindow
|
||||||
|
|||||||
Reference in New Issue
Block a user