• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

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
0
Physio ITPeople
Asked:
Physio ITPeople
  • 2
  • 2
1 Solution
 
SreRajCommented:
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now