Implementing FSRM reporting
A useful and often overlooked feature of the FSRM component is reporting. FSRM defines several basic report types that you can use. These 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.
FSRM produces reports with a fixed layout that you cannot change. FSRM can return the same data contained in the HTML report but as an XML document. You can then use that XML document to create a report the way you need it.
Getting ready
This recipe uses SRV1
, a domain-joined host in the Reskit.Org
domain, on which you have installed PowerShell 7 and VS Code. In the previous recipe, Implementing FSRM quotas, you installed FSRM on SRV1
.
How to do it...
- Creating a new FSRM storage report for large files on
C:\
onSRV1
$NRHT = @{ Name ...