title: Unix command equivalent on powershell
body: <p>Unix command example, what is the equivalent on powershell?</p>
  <pre><code>if [ &quot;$UID&quot; -ne 0 ]
    then echo &quot;Please run as root&quot;
    exit
  fi
  </code></pre>