?
Solved

remove an argument using powershell

Posted on 2013-10-28
1
Medium Priority
?
1,272 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

777 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