Tom Talks Microsoft Teams and Microsoft 365 Collaboration news and opinions

Check Your Lync Server Windows Fabric Log Size with PowerShell

I’ve been sitting on this one for quite a while, but someone at the recent PowerShell Summit kindly reminded me to get it published.

Lync 2013 Servers generate Windows Fabric logs, Flinchbot has already done a great write up.

These don’t appear to be causing a lot of issues, but it is something you might want to check on, as they could potentially fill your hard drive.

I haven’t seen any official guidance, but as Flinchbot points out, you can set the logging to circular (Admin CMD prompt):

Logman update trace FabricLeaseLayerTraces -f bincirc –cnf

Note, there are two hyphens before cnf, but for some reason wordpress doesn’t show them correctly

I’ve written a little script that, when run from a Lync Server, gathers all the Lync Front End servers, checks for a Windows Fabric log path, and measures the size of the logs directory.

Here is an example of the output:


You can grab the latest version of the script on my github.

Download Script here

I am interested to hear what sizes others find.


About the author

Tom Arbuthnot

A Microsoft MVP and Microsoft Certified Master, Tom Arbuthnot is Principal Solutions Architect at Microsoft Collaboration specialists Modality Systems.

Tom stays up to date with industry developments and shares news and his opinions on his blog, Microsoft Teams Podcast and email list. He is a regular speaker at events around the world.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Tom Talks Microsoft Teams and Microsoft 365 Collaboration news and opinions