<p>I am trying to set an environment variable with the IP address at which Kong is accessible that will be used to actually send requests into the Kubernetes cluster. Installed Kong Kubernetes Ingress Controller Without Database. But always getting this error. Can anyone please help? Thanks in advance.</p>

<p><a href="https://i.stack.imgur.com/nblAW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nblAW.png" alt="enter image description here"></a></p>

DevSay
<p>It's because you're using Linux commands in Powershell.
To export PROXY_IP you can use:</p>

<p><code>$PROXY_IP=(minikube service -n kong kong-proxy --url | select -first 1)</code></p>

<p><code>select -first 1</code> behaves the same as <code>head -1</code>.</p>

<p>Then to set it as environment variable you can use:</p>

<p><code>[Environment]::SetEnvironmentVariable("PROXY_IP", "$PROXY_IP"</code>)</p>
