Hi PlayFab! :)
We are going to use Filebeat (https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html) service to get logs from the server (Photon). We created a PowerShell script to setup and run Filebeat (https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html) as a windows service, but the script execution requires administrator rights.
Questions:
- How can we run a Power Shell script as administrator without a connecting by RDP and running it manually?
- Is it possible to get windows server administrator credentials to run it during deploy?
Hi PlayFab! :)
We are going to use Filebeat (https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html) service to get logs from the server (Photon). We created a PowerShell script to setup and run Filebeat (https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html) as a windows service, but the script execution requires administrator rights.
Questions:
1. How can we run a Power Shell script as administrator without a connecting by RDP and running it manually?
2. Is it possible to get windows server administrator credentials to run it during deploy?
Thanks in advance!