File Server Resource Manager
Looks like there is a bug in the File Server Resource Manager modules.
Windows 2012 R2 - fully patched march 2016
When creating a new FSRMFileScreenTemplate, it defaults to active instead of passive, and I can't change it to passive.
New-FsrmFileScreenTemplate -name test -IncludeGroup test -Notification test
This results in an active template. The command has an -active switch - which cannot be set to $false, but no -passive switch.
Setting the property afterwards to $false doesn't change it in the GUI - it is still active.
Had to use the old filescrn.exe utility to set the template to passive:
Invoke-Expression "filescrn.exe template modify /template:test /type:passive"
I had same issue. Resolved by setting the switch 'active' to false. You need to use the colon.
New-FsrmFileScreenTemplate -Name $fileScreenTemplate -IncludeGroup $fileGroupName -Notification $emailNotification -Active:$false
Yup, got same issue...!