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

remove an argument using powershell

Hi Experts,

I am sorry for such a basic questions.
I ran in my lab environment the following:

Set-OrganizationConfig -EwsApplicationAccessPolicy EnforceBlockList
Set-OrganizationConfig -EwsBlockList LinkedInEWS

Now when I run the command "Get-OrganizationConfig | fl
"  I get the following result:
EWSApplicationAccessPolicy: EnforceBlockList
EWSBlockList: {LinkedInEWS}


I want to get rid of both changes and be like before:
EWSApplicationAccessPolicy:
EWSBlockList:

How do I remove these arguments?
0
osagarana
Asked:
osagarana
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
Do the following commands to remove the settings...

Set-OrganizationConfig -EwsApplicationAccessPolicy $null
and
Set-OrganizationConfig -EwsBlockList $null

Will.
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.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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