?
Solved

How can I uncheck ConditionalCustomAttribute2 using a powershell statement?

Posted on 2015-02-23
4
Medium Priority
?
89 Views
Last Modified: 2015-02-23
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
0
Comment
Question by:Physio ITPeople
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
SreRaj earned 2000 total points
ID: 40627504
Hi,

Please try the following command.

set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 $null
0
 
LVL 12

Expert Comment

by:SreRaj
ID: 40627506
If that does not work, you could try "" instead of $null.

 set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 ""
0
 

Author Closing Comment

by:Physio ITPeople
ID: 40627512
Genius!!
0
 

Author Comment

by:Physio ITPeople
ID: 40627514
set-DynamicDistributionGroup -identity 'clinic.13108' -ConditionalCustomAttribute2 $null

the above worked. Thank you!!!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question