Sampler

0.109.0

Sample Module with Pipeline scripts and its Plaster template to create a module following some of the community accepted practices.

Minimum PowerShell version

5.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Sampler -RequiredVersion 0.109.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Gael Colas

Copyright

(c) Gael Colas. All rights reserved.

Owners

Tags

Template pipeline plaster DesiredStateConfiguration DSC DSCResourceKit DSCResource Windows MacOS Linux

Functions

Add-Sample New-SampleModule

Dependencies

Release Notes

## [0.109.0] - 2020-11-24

### Changed

- Updating all azure-pipeline.yaml to change Build Artifacts to Pipeline Artifacts ([issue #159](https://github.com/gaelcolas/Sampler/issues/159)).
- Update plasterManifest.xml call by New-SampleModule :
   - Add section modify to replace "FunctionsToExport = '*'" by "FunctionsToExport = ''" in new module manifest ([issue #67](https://github.com/gaelcolas/Sampler/issues/67)).
   - Add section modify to add "Prerelease = ''" in "PSData" block  in new module manifest ([issue #69](https://github.com/gaelcolas/Sampler/issues/69)).
- Changing ClassResource.
   - Add generic content in the class.
   - Add pester tests.
   - Add localizeddata.
   - Update plasterManifest.xml.
   - Add private functions.
   - Add pester tests.
   - Update Sampler integration tests.
- Changing the Reasons property in the classes based resource template. It's now NotConfigurable.
- Renamed Build_Module_ModuleBuilder task to Build_ModuleOutPut_ModuleBuilder.
 Build_Module_ModuleBuilder is now a metatask that calls
 Build_ModuleOutPut_ModuleBuilder and Build_DscResourcesToExport_ModuleBuilder tasks.

### Added

- Added new template ClassFolderResource
- Added new function Get-ClassBasedResourceName on Common.Functions.psm1 module.
 It's used to find the class-based resource defined in psm1 file.
- Added new task Build_DscResourcesToExport_ModuleBuilder.
 On build, it adds DscResources (class or Mof) in DscResourcesToExport manifest key.

### Fixed

- Fixed Test-ModuleManifest ([issue #208](https://github.com/gaelcolas/Sampler/issues/208))
 in tasks.

Version History

Version Downloads Last updated
0.109.2 347 1/13/2021
0.109.2-prev... 5 1/13/2021
0.109.2-prev... 5 1/13/2021
0.109.1 297 1/6/2021
0.109.1-prev... 5 1/4/2021
0.109.1-prev... 5 12/29/2020
0.109.0 (current version) 1,056 11/24/2020
0.109.0-prev... 4 11/24/2020
0.109.0-prev... 4 11/19/2020
0.109.0-prev... 5 11/18/2020
0.109.0-prev... 4 10/13/2020
0.108.0 694 9/14/2020
0.108.0-prev... 2 9/13/2020
0.108.0-prev... 2 9/13/2020
0.107.4-prev... 2 9/12/2020
0.107.4-prev... 2 9/11/2020
0.107.3 199 9/10/2020
0.107.3-prev... 2 9/10/2020
0.107.2 195 9/8/2020
0.107.2-prev... 2 9/8/2020
0.107.1 168 9/8/2020
0.107.1-prev... 2 9/7/2020
0.107.0 159 9/7/2020
0.107.0-prev... 2 9/7/2020
0.107.0-prev... 3 9/7/2020
0.106.1 197 8/30/2020
0.106.1-prev... 3 8/30/2020
0.106.0 177 8/30/2020
0.106.0-prev... 3 8/29/2020
0.106.0-prev... 11 8/21/2020
0.106.0-prev... 24 8/19/2020
0.106.0-prev... 4 8/18/2020
0.106.0-prev... 5 8/8/2020
0.105.7-prev... 8 7/11/2020
0.105.6 1,875 6/1/2020
0.105.6-prev... 3 6/1/2020
0.105.5 267 5/29/2020
0.105.5-prev... 3 5/29/2020
0.105.5-prev... 3 5/29/2020
0.105.4 162 5/29/2020
0.105.4-prev... 3 5/29/2020
0.105.4-prev... 3 5/28/2020
0.105.3 842 5/9/2020
0.105.3-prev... 3 5/9/2020
0.105.2 646 5/1/2020
0.105.2-prev... 3 5/1/2020
0.105.2-prev... 3 5/1/2020
0.105.2-prev... 3 4/24/2020
0.105.2-prev... 3 4/24/2020
0.105.1 465 4/24/2020
0.105.1-prev... 3 4/24/2020
0.105.0 289 4/21/2020
0.105.0-prev... 3 4/21/2020
0.105.0-prev... 3 4/18/2020
0.104.0 1,540 4/18/2020
0.104.0-prev... 3 4/18/2020
0.104.0-prev... 3 4/17/2020
0.103.0 197 4/17/2020
0.103.0-prev... 3 4/17/2020
0.102.1 1,322 2/21/2020
0.102.1-prev... 5 2/18/2020
0.102.1-prev... 5 2/18/2020
0.102.0 262 2/14/2020
0.102.0-prev... 5 2/14/2020
0.102.0-prev... 6 2/12/2020
0.101.0 240 2/10/2020
0.101.0-prev... 5 2/10/2020
0.101.0-prev... 5 2/7/2020
0.101.0-prev... 5 2/7/2020
0.100.0 441 2/1/2020
0.100.0-prev... 5 2/1/2020
0.99.4 379 1/22/2020
0.99.4-previ... 6 1/22/2020
0.99.4-previ... 6 1/22/2020
0.99.4-previ... 5 1/22/2020
0.99.3 170 1/21/2020
0.99.3-previ... 5 1/21/2020
0.99.2 288 1/16/2020
0.99.2-previ... 5 1/16/2020
0.99.1 143 1/16/2020
0.99.1-previ... 5 1/16/2020
0.99.1-previ... 7 1/9/2020
0.99.1-previ... 5 1/7/2020
0.99.1-previ... 5 1/7/2020
0.99.0 663 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 9 12/28/2019
0.99.0-previ... 6 12/28/2019
0.99.0-previ... 5 12/26/2019
0.98.1 504 12/24/2019
0.98.1-previ... 5 12/24/2019
0.98.1-previ... 5 12/23/2019
0.98.0 180 12/22/2019
0.98.0-previ... 5 12/22/2019
0.98.0-previ... 6 12/21/2019
0.97.0 439 12/9/2019
0.97.0-previ... 5 12/9/2019
0.96.1-previ... 6 11/8/2019
0.96.1-previ... 5 11/5/2019
0.96.0 329 11/1/2019
0.96.0-previ... 5 11/1/2019
0.95.2-previ... 5 11/1/2019
0.95.1 179 11/1/2019
0.95.1-previ... 5 11/1/2019
0.95.1-previ... 5 11/1/2019
0.95.0 166 11/1/2019
0.95.0-previ... 5 11/1/2019
0.94.0 169 10/30/2019
0.94.0-previ... 5 10/30/2019
0.94.0-previ... 5 10/30/2019
0.93.3-previ... 5 10/30/2019
0.93.2 164 10/30/2019
0.93.2-previ... 5 10/30/2019
0.93.2-previ... 5 10/30/2019
0.93.2-previ... 4 10/29/2019
0.93.1 171 10/29/2019
0.93.1-previ... 5 10/29/2019
0.93.1-previ... 5 10/29/2019
0.93.0 164 10/29/2019
0.93.0-previ... 5 10/29/2019
0.93.0-previ... 5 10/29/2019
0.93.0-previ... 4 10/23/2019
0.93.0-previ... 4 10/23/2019
0.93.0-previ... 12 10/22/2019
0.93.0-previ... 7 10/20/2019
0.92.2-previ... 5 10/15/2019
0.92.1 192 10/15/2019
0.92.1-previ... 4 10/15/2019
0.92.0 163 10/15/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.91.7-previ... 4 10/11/2019
0.91.6 165 10/11/2019
0.91.6-previ... 4 10/10/2019
0.91.6-previ... 4 10/10/2019
0.91.6-previ... 4 10/10/2019
0.89.7-previ... 4 10/10/2019
Show less