Solved

remove an argument using powershell

Posted on 2013-10-28
1
1,253 Views
Last Modified: 2013-10-28
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
Comment
Question by:osagarana
[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
1 Comment
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 39607615
Do the following commands to remove the settings...

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

Will.
0

Featured Post

Technology Partners: 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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

728 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