Using filesystem reporting

A useful feature of the FSRM component is reporting. FSRM defines a number of basic report types that you can request. The reports can either be generated immediately (also known as interactive) or at a scheduled time. The latter causes FSRM to generate reports on a weekly or monthly basis.

Getting ready

Run this recipe on SRV1, after installing the FSRM feature. You did this in the Managing Filestore quotas recipe. That recipe also created two largish files. If you haven't run that recipe, consider creating a few large files on SRV1 before running this recipe.

How to do it...

  1. Create a new interactive Storage Report for large files on C:\ on SRV1:
    $NRHT = @{ Name = 'Large Files on SRV1' NameSpace = 'C:\' ReportType = 'LargeFiles' ...

Get Windows Server 2019 Automation with PowerShell Cookbook - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.