Solved

How can I uncheck ConditionalCustomAttribute2 using a powershell statement?

Posted on 2015-02-23
4
80 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now