Exchange Powershell Max Quota exceeded.

When doing some exchange powershell you would probably get this error or somthing like it sooner or later:

Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. This user is allowed a max
imum number of 18 concurrent shells, which has been exceeded. Close existing shells or raise the quota for this user. For more information, see the about_Remote_Trouble
shooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
    + FullyQualifiedErrorId : PSSessionOpenFailed

Workaround for this is to recycle the MSExchangePowerShellAppPool Application Pool

Lync phone calls failes, and log reports/sniff that Lync server cancel it.

When calling some foreign numers Lync server CANCEL the call when it is in progress. Network sniff shows that the call is terminates after 10 sec.

 

This is a default value of the Lync Routing engine. The value is located in “c:\program files\Microsoft Lync Server 2010\Server\Core\OutboundRouting.exe.config”

SOLUTION:Replace value “FailOverTimeout” value 10000 with a value of 20000. Reboot server. Remember to do this on every frontend server that is involved. You will have to reboot involved servers for this to be activated

<configuration>
    <appSettings>
      <add key=”FailOverTimeout” value=”20000″/>
      <add key=”MinGwWaitingTime” value=”1″/>
      <add key=”MaxGwWaitingTime” value=”20″/>
      <add key=”FailuresForGatewayDown” value=”10″/>
      <add key=”FailuresForGatewayLessPreferred” value=”25″/>
      <!– Valid values are between 5 and 600 –>
      <add key=”HealthMonitoringInterval” value=”300″/>
      <!– Valid values are between 60 and 3600 –>
      <add key=”GatewayStateReportingInterval” value=”1800″ />
  </appSettings>
</configuration>

DPM 2012 backup Sharepoint 2010

To backup sharepoint from DPM 2012 you willl first have to install DPM agent. Then run %program files%\Microsoft Data Protection Manager\DPM\Bin\

ConfigureSharepoint.exe -EnableSharepointProtection

When asked fore WSSCmdletsWrapper user enter your farm administrator.

If you get an error : 

Then the user you have logged on to the server with does not have the right permissions on the SQL instance.