fix tool FixDefaultPublicFolderMailbox
This commit is contained in:
parent
d01861259b
commit
61747a32fc
4 changed files with 8 additions and 9 deletions
|
@ -5334,16 +5334,13 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
|
||||
string newValue = orgCanonicalName + "/" + GetPublicFolderMailboxName(organizationId);
|
||||
|
||||
if (newValue != oldValue)
|
||||
{
|
||||
cmd = new Command("Set-Mailbox");
|
||||
cmd.Parameters.Add("Identity", id);
|
||||
cmd.Parameters.Add("DefaultPublicFolderMailbox", newValue);
|
||||
cmd = new Command("Set-Mailbox");
|
||||
cmd.Parameters.Add("Identity", id);
|
||||
cmd.Parameters.Add("DefaultPublicFolderMailbox", newValue);
|
||||
|
||||
ExecuteShellCommand(runSpace, cmd);
|
||||
ExecuteShellCommand(runSpace, cmd);
|
||||
|
||||
res.Add(newValue);
|
||||
}
|
||||
res.Add(newValue);
|
||||
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue