Script to get FSRM Quota settings from remote server. This includes Quota Templates, Admin Options, and Quotas applied to folders. The script uses dirquota.exe tool instead of the PS module fileserverresourcemanager (that was added in server 2012) to provide backward compatibility. Script has been tested with source server 2008 R2, 2012, and 2012 R2. This script is designed to run on the destination server. Assumes source and destination drive letters are the same.

Script by Sam Boutros - 9 June 2016 - v1.0

For more information see https://superwidgets.wordpress.com/category/powershell/

PowerShell
Edit|Remove
#Requires -Version 4 
#Requires -RunasAdministrator  
 
<# 
Script to get FSRM Quota settings from remote server 
This includes Quota Templates, Admin Options, and Quotas applied to folders 
Using dirquota instead of the PS module fileserverresourcemanager to provide backward compatibility 
Tested with source server 2008 R2, 2012, and 2012 R2 
This script is designed to run on the destination server 
Assumes source and destination drive letters are the same 
Script by Sam Boutros - 9 June 2016 - v1.0 
For more information see https://superwidgets.wordpress.com/category/powershell/ 
#>