Check if group exists remotely
<p>Can anyone tell me how to check if a local group exists on a remote computer? </p>

<p>I know checking locally is very simple with the command below but how can I do it remotely? </p>

<p>Thank you everyone in advance..! </p>

<pre><code>[ADSI]::Exists('WinNT://./Test Group')
</code></pre>