8000 added the site to the installation command (#29329) · DataDog/documentation@0963a67 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0963a67

Browse files
authored
added the site to the installation command (#29329)
1 parent 83d998b commit 0963a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/agent/basic_agent_usage/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When the install finishes, you are given the option to launch the Datadog Agent
5959
1. Open PowerShell with **Administrator** privileges.
6060
2. Run the following command to install the Datadog Agent:
6161
{{< code-block lang="powershell" >}}
62-
$p = Start-Process -Wait -PassThru msiexec -ArgumentList '/qn /i https://windows-agent.datadoghq.com/datadog-agent-7-latest.amd64.msi /log C:\Windows\SystemTemp\install-datadog.log APIKEY="<DATADOG_API_KEY>"'
62+
$p = Start-Process -Wait -PassThru msiexec -ArgumentList '/qn /i https://windows-agent.datadoghq.com/datadog-agent-7-latest.amd64.msi /log C:\Windows\SystemTemp\install-datadog.log APIKEY="<DATADOG_API_KEY>" SITE="<DATADOG_SITE>"'
6363
if ($p.ExitCode -ne 0) {
6464
Write-Host "msiexec failed with exit code $($p.ExitCode) please check the logs at C:\Windows\SystemTemp\install-datadog.log" -ForegroundColor Red
6565
}

0 commit comments

Comments
 (0)
0