File Server Resource Manager DSC Resource

With Our Powers Combined we are captain FSRM

I’ve been recently working on combining my three File Server Resource Manager DSC Resources into a single module. This made more sense and will make it a lot easier to maintain.

Integration Testing

At the same time as combining these resource, I also added integration tests (based on the ones that were added recently to the Microsoft xNetworking resource). This identified a number of bugs that had previously been overlooked. If you’re in the DSC resource writing game (or just starting), I strongly recommend adding integration tests early on – it’ll definitely save you a lot of grief and just make life more enjoyable for you and everyone who uses your resource. I intend on writing an introduction article to unit and integration testing DSC resources over the next month – so keep an eye out for it if you’re interested.

The new File Server Resource Manager (cFSRM) resource replaces these old resources which have now been deprecated:

So, if you’re using any of the above resources, you should update your DSC Configuration files to use the new cFSRM one. The resources are completely compatible with the old ones so you should just need to update the Import-DSCModule cmdlet in any configuration files.

Installing the Resource

You can find the new cFSRM resource on Microsoft Script Center or on the PowerShell Gallery.

For those of you using Windows Management Framework 5.0 (or have the PowerShellGet module installed) you can just use the command:

Install-Module -Name cFSRM

Using the Resource

Rather than go into detail on using this resource, you can find the full documentation and usage examples here.

If you need some additional guidance or other specific examples, please feel free to let me know and I’ll do my best to help you out.

Feedback

If you’re interested in contributing to this resource, providing feedback or raising issues or requesting features, please feel free (anything is appreciated). You’ll find the resource GitHub repository here where you can fork, issue pull requests and raise issues/feature requests.

 

 

File Server Resource Manager (FSRM) Classifications DSC Resource

Introduction

I’ve been spending a bit of time lately working on some issues and improvements on the xNetworking DSC Resource so haven’t been spending as much time working on the series of File Server Resource Manager (FSRM) DSC Modules as I’d like. That said, I have managed to complete another module. This one is used for configuring Classification Properties and Property Values, Classification Configuration and Classification Rules.

If you missed any of the previous FSRM DSC Modules:

Resources

This module contains the following resources:

cFSRMClassification- configures FSRM Classification settings.
cFSRMClassificationProperty- configures FSRM Classification Property Definitions.
cFSRMClassificationPropertyValue- configures FSRM Classification Property Definition Values. This resource only needs to be used if the Description of a Classification Property Definition Value must be set.
cFSRMClassificationRule- configures FSRM Classification Rules.

The purpose of the resources should be fairly self explanatory, as long as you have a basic understanding of how FSRM Classifications are used.

Installing the Resource

If you have installed WMF 5.0 you can just download this directly from the PowerShell Gallery by running this command:

Install-Module -Name cFSRMClassifications

Otherwise you’ll need to download this from the Microsoft Script Center here and unzip it into your PowerShell modules path.

Using the Resource

As per the last post on these resources, rather than go into detail on using this resource, I thought I’d try and keep it short and just provide a link to the documentation. This covers the parameters available in the resources as well as some usage examples.

If you need some additional guidance or other specific examples, please feel free to let me know and I’ll do my best to help you out.

Hopefully this resource finds some use out there, but either way it has been extremely helpful to me really imprint the underlying FSRM features and usage into my own mind.

Feedback

If you’re interested in contributing to this resource, providing feedback or raising issues or requesting features, please feel free (anything is appreciated). You’ll find the resource GitHub repository here where you can fork, issue pull requests and raise issues/feature requests.

File Server Resource Manager (FSRM) File Screen DSC Resource

Introduction

Continuing on with implementing File Server Resource Manager (FSRM) DSC Modules, I’ve added a new module for configuring File Screens, File Screen Templates and File Screen Exceptions. If you missed it the previous module for configuring quotas can be found here.

Resources

This module contains the following resources:

cFSRMFileScreen – configures FSRM File Screen.
cFSRMFileScreenAction – configures FSRM File Screen Actions for File Screens.
cFSRMFileScreenTemplate – configures FSRM File Screen Templates.
cFSRMFileScreenTemplateAction – configures FSRM File Screen Template Actions for File Screen Templates.
cFSRMFileScreenExclusion – configures FSRM File Screen Exclusions.

The purpose of the resources should be fairly self explanatory, as long as you have a basic understanding of how FSRM File Screens are used.

Installing the Resource

If you have installed WMF 5.0 you can just download this directly from the PowerShell Gallery by running this command:

Install-Module -Name cFSRMFileScreens

Otherwise you’ll need to download this from the Microsoft Script Center here and unzip it into your PowerShell modules path.

Using the Resource

As per the last post on these resources, rather than go into detail on using this resource, I thought I’d try and keep it short and just provide a link to the documentation. This covers the parameters available in the resources as well as some usage examples.

If you need some additional guidance or other specific examples, please feel free to let me know and I’ll do my best to help you out.

Hopefully this resource finds some use out there, but either way it has been extremely helpful to me really imprint the underlying FSRM features and usage into my own mind.

Feedback

If you’re interested in contributing to this resource, providing feedback or raising issues or requesting features, please feel free (anything is appreciated). You’ll find the resource GitHub repository here where you can fork, issue pull requests and raise issues/feature requests.

File Server Resource Manager (FSRM) Quotas DSC Resource

Introduction

After implementing (but not yet completing) the my DFS Replication Groups resource last week, I had an epiphany about another resource that I had begun writing some time ago but had run into problems with. The epiphany allowed me to resolve the issues holding up completion of this resource as well as dig more deeply into the FSRM for my studies.

Resources

Initially I was going to create all of the FSRM Resources (File Groups, File Classifications etc) in a single module, but I quickly realized that this wasn’t ideal as the number of modules to support this was actually quite large. Therefore I’ve decided to break this down into more manageable chunks. This is the first chunk. It contains the following resources:

  • cFSRMFileQuota – configures FSRM Quotas.
  • cFSRMFileQuotaAction – configures FSRM Quota Actions for Quotas.
  • cFSRMFileQuotaTemplate – configures FSRM Quota Templates.
  • cFSRMFileQuotaTemplateAction – configures FSRM Quota Template Actions for Quota Templates.
  • cFSRMAutoQuota – configures FSRM Auto Quotas.

The purpose of the resources should be fairly self explanatory, as long as you have a basic understanding of how FSRM Quotas are used. If you aren’t familiar with FSRM Quotas, this is a good place to start – although why you’d be reading this if you’re not familiar with FSRM Quotas already is beyond me.

There are some other Quota management DSC Resources available online and they look very easy to use, but they don’t provide the complete set of functionality that these resources do because I tried to ensure that every Quota is available and as complete as possible. Which resources to use depends on your needs.

Installing the Resource

If you have installed WMF 5.0 you can just download this directly from the PowerShell Gallery by running this command:

Install-Module -Name cFSRMQuotas

Otherwise you’ll need to download this from the Microsoft Script Center here and unzip it into your PowerShell modules path.

Using the Resource

Rather than go into detail on using this resource in this post, I thought I’d try and keep it short and just provide a link to the documentation. This covers the parameters available in the resources as well as some usage examples.

If you need some additional guidance or other specific examples, please feel free to let me know and I’ll do my best to help you out.

Summary

Well, there is not much more to say about this. Hopefully someone finds it useful. I intend to add complete the other chunks of the FSRM Resources over the coming weeks when I have time.

Feedback

If you’re interested in contributing to this resource, providing feedback or raising issues or requesting features, please feel free (anything is appreciated). You’ll find the resource GitHub repository here where you can fork, issue pull requests and raise issues/feature requests.