Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

suppress output when creating a DL - powershell Exchange Shell

$
0
0

When I run the following command, I get output, which then gets echo'ed into my script results log, which I don't want:

Powershell
new-distributiongroup<bunchaparametersNameDisplayNameGroupTypePrimarySmtpAddress------------------------------------------dl-namedl-nameUniversaldl-name@domain.com

How do I suppress the output resulting output?

Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>