From 6afbb17d014246cac77d810222d24b4772ae45a7 Mon Sep 17 00:00:00 2001 From: dev_amdtel Date: Tue, 25 Jun 2013 22:49:50 +0400 Subject: [PATCH] fix --- .../Exchange2013.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs index 15e61400..7d878843 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs @@ -7275,7 +7275,7 @@ namespace WebsitePanel.Providers.HostedSolution runSpace = OpenRunspace(); Command cmd = new Command("Remove-TransportRule"); cmd.Parameters.Add("Identity", Name); - cmd.Parameters.Add("Confirm", true); + cmd.Parameters.Add("Confirm", false); ExecuteShellCommand(runSpace, cmd); } catch (Exception exc)