Get it

As mentioned previously, cFileShare module is part of the DevOps initiative, which can be found in clodeplex (vsardevops.codeplex.com). For this demo, you will need to grab the full package named “Rangers_vsarDsc_Everything.zip”:

Click on Downloads

Click on the link “zip”

Save the file in your system

Install it

After downloading the “Rangers_vsarDsc_everything.zip” package execute the following steps:

Unzip it into a folder in order to access its content. The cFileShare resource is located in the <zip root>\Walkthrough – File Server and Share Custom Resource.zip\Walkthrough – File Server and Share Custom Resource\

Copying the cFileShare folder to $env:ProgramFiles\WindowsPowerShell\Modules

Check if module is being correctly recognized by running Get-Module –ListAvailable

Check if DSC resources have been correctly imported

Run test cases

After the installation procedure, unit tests will be located at $env:ProgramFiles\WindowsPowerShell\Modules\cFileShare\Unit Tests\. In order to execute them, execute the following steps: