Solved

remove an argument using powershell

Posted on 2013-10-28
1
1,214 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
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
In this video we show how to create an Address List 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 Organization >> Ad…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

786 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