How can I uncheck ConditionalCustomAttribute2 using a powershell statement?

CustomAttribute2.pdf

I have tried

set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 $false
The above statement doesn't work

set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 'NULL'
The above statement doesn't work
Physio ITPeopleAsked:
Who is Participating?
 
SreRajConnect With a Mentor Commented:
Hi,

Please try the following command.

set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 $null
0
 
SreRajCommented:
If that does not work, you could try "" instead of $null.

 set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 ""
0
 
Physio ITPeopleAuthor Commented:
Genius!!
0
 
Physio ITPeopleAuthor Commented:
set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 $null

the above worked. Thank you!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.