Solved

How can I uncheck ConditionalCustomAttribute2 using a powershell statement?

Posted on 2015-02-23
4
86 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 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