Archive for June 2014

Wondering how many log files are generated per server every minute? Quickly find out by typing:   Leave a comment

 

Get-MailboxDatabase -Server $env:ComputerName | ?{ %{$_.DatabaseCopies | ?{$_.ReplayLagTime -ne [TimeSpan]::Zero -And $_
.HostServerName -eq $env:ComputerName} } } | %{ $count = 0; $MinT = [DateTime]::MaxValue; $MaxT = [DateTime]::MinValue;
Get-ChildItem -Path $_.LogFolderPath -Filter “*????.log” | %{ $count = $count + 1; if($_.LastWriteTime -gt $MaxT){ $MaxT
= $_.LastWriteTime}; if($_.LastWriteTime -lt $MinT){ $MinT= $_.LastWriteTime} }; ($count / ($MaxT.Subtract($MinT)).Tota
lMinutes) } | Measure-Object -Min -Max -Ave

Advertisements

Posted June 30, 2014 by Prem Rana in EMS Commands (Powershell)

How to Enable Users for Lync 2013   Leave a comment

Login to the Lync URL

https://Lync.abc.com/Cscp/

Single sign on will work for this

clip_image002[4]

Click on Enable Users for Lync Server.

clip_image003[4]

Click Add to add the user for enabling it.

clip_image004[4]

Type the user logon name in search field and click find, select the required user and click ok.

clip_image005[4]

Select pool server from the drop down from Pool list.

clip_image006[4]

Select Enterprise Voice from the Telephony drop down list.

clip_image007[4]

Click on the Enable to enable the user for lync.

Posted June 16, 2014 by Prem Rana in Lync