diff --git a/src/pages/help/troubleshooting-client.mdx b/src/pages/help/troubleshooting-client.mdx index e181d7b3..b8b5d1cb 100644 --- a/src/pages/help/troubleshooting-client.mdx +++ b/src/pages/help/troubleshooting-client.mdx @@ -306,7 +306,7 @@ sudo netbird service start You need to run the following commands with an elevated PowerShell or `cmd.exe` window. -```shell +```powershell [Environment]::SetEnvironmentVariable("NB_LOG_LEVEL", "debug", "Machine") netbird service restart ``` @@ -360,7 +360,7 @@ netbird service stop In case you need to configure environment variables, you need to add them as system variables so they get picked up by the agent on the next psexec run: -```shell +```powershell [Environment]::SetEnvironmentVariable("PIONS_LOG_DEBUG", "all", "Machine") ````