Skip to content

Instantly share code, notes, and snippets.

@gioxx
Created October 29, 2014 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gioxx/148a762a34f5a691813c to your computer and use it in GitHub Desktop.
Save gioxx/148a762a34f5a691813c to your computer and use it in GitHub Desktop.
Powershell: escludere membri da un gruppo di distribuzione dinamico in base a parte del nome (o nome preciso)
Set-DynamicDistributionGroup -Identity "Nome del gruppo di distribuzione dinamico" -RecipientFilter {RecipientType -eq "UserMailbox" -and Company -eq "Nome azienda nel campo Company" -and (-not(Name -like "Parte del nome da escludere o nome preciso*"))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment