Solved

remove an argument using powershell

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Contact 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 Recipients >> Contact ta…

809 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