Skip to content

Latest commit

 

History

History
1158 lines (1015 loc) · 50.8 KB

CHANGELOG.md

File metadata and controls

1158 lines (1015 loc) · 50.8 KB

Change log for xPSDesiredStateConfiguration

The format is based on and uses the types of changes according to Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • xPackage
    • Fixed a bug not allowing using the file hash of an installer Issue #702.

Fixed

  • xPSDesiredStateConfiguration
    • Fixed build failures caused by changes in ModuleBuilder module v1.7.0 by changing CopyDirectories to CopyPaths - Fixes Issue #687.
    • Pin Pester module to 4.10.1 because Pester 5.0 is missing code coverage - Fixes Issue #688.
  • xArchive
    • Removed Invoke-NewPSDrive function because it is no longer needed as Pester issue has been resolved - Fixes Issue #698.
  • xGroup
    • Ensure group membership is always returned as an array - Fixes Issue #353.

Changed

  • xPSDesiredStateConfiguration
    • Updated to use the common module DscResource.Common - Fixes Issue #685.
      • Improved integration test reliability by resetting the DSC LCM before executing each test using the Reset-DscLcm function - Fixes Issue #686.
  • xDSCWebService:
    • Moved strings into localization file - Fixes Issue #622.
    • Corrected case of CertificateThumbPrint to CertificateThumbprint.
  • Renamed master branch to main - Fixes Issue #696.
  • Updated GitVersion.yml to latest pattern - Fixes Issue #707.

[9.1.0] - 2020-02-19

Changed

  • Examples
    • Removed the version number of the xPSDesiredStateConfiguration module from the #Requires headers - Fixes issue #653
  • Change Azure DevOps Pipeline definition to include source/* - Fixes Issue #682
  • Updated pipeline to use latest version of ModuleBuilder - Fixes Issue #682
  • Merge HISTORIC_CHANGELOG.md into CHANGELOG.md - Fixes Issue #683

Fixed

  • xPSDesiredStateConfiguration

    • Export Publish-* functions in DscPullServerSetup module - Fixes issue #673
  • DSC_xRegistryResource

    • Fixed an issue that failed to create a registry with ":" in the path - Fixes issue #671

[9.0.0] - 2020-01-15

Added

  • xPSDesiredStateConfiguration
    • Added support for Checksum on xRemoteFile - issue #423
    • Added Test-DscParameterState support function to xPSDesiredStateConfiguration.Common.psm1.
    • Added standard unit tests for xPSDesiredStateConfiguration.Common.psm1.
    • Added automatic release with a new CI pipeline.

Changed

  • xPSDesiredStateConfiguration
    • PublishModulesAndMofsToPullServer.psm1:
      • Fixes issue in Publish-MOFToPullServer that incorrectly tries to create a new MOF file instead of reading the existing one. issue #575
    • Fix minor style issues with missing spaces between param statements and '('.
    • MSFT_xDSCWebService:
      • Removal of commented out code.
      • Updated to meet HQRM style guidelines - Fixes issue #623
      • Added MOF descriptions.
    • Corrected minor style issues.
    • Fix minor style issues in hashtable layout.
    • Shared modules moved to source/Module folder and renamed:
      • CommonResourceHelper.psm1 -> xPSDesiredStateConfiguration.Common.psm1
    • Moved functions from ResourceSetHelper.psm1 into xPSDesiredStateConfiguration.Common.psm1.
    • BREAKING CHANGE: Changed resource prefix from MSFT to DSC.
    • Pinned ModuleBuilder to v1.0.0.
    • Updated build badges in README.MD.
    • Remove unused localization strings.
    • Adopt DSC Community Code of Conduct.
    • DSC_xPSSessionConfiguration:
      • Moved strings to localization file.
    • DSC_xScriptResource
      • Updated parameter descriptions to match MOF file.
    • Correct miscellaneous style issues.
    • DSC_xWindowsOptionalFeature
      • Fix localization strings.
    • DSC_xEnvironmentResource
      • Remove unused localization strings.
    • DSC_xRemoteFile
      • Updated end-to-end tests to use the same pattern as the other end-to-end tests in this module.
    • DSC_xDSCWebService
      • Moved PSWSIISEndpoint.psm1 module into xPSDesiredStateConfiguration.PSWSIIS.
      • Moved Firewall.psm1 module into xPSDesiredStateConfiguration.Firewall.
      • Moved SecureTLSProtocols.psm1 and UseSecurityBestPractices.psm1 module into xPSDesiredStateConfiguration.Security.
      • Fix issue with Get-TargetResource when a DSC Pull Server website is not installed.
    • DSC_xWindowsFeature
      • Changed tests to be able to run on machines without *-WindowsFeature cmdlets.
      • Changed Assert-SingleInstanceOfFeature to accept an array.
    • BREAKING CHANGE: Renamed PublishModulesAndMofsToPullServer module to DscPullServerSetup and moved to Modules folder.
    • Moved test helper modules into tests\TestHelpers folder.
  • DSCPullServerSetup
    • Fixed markdown errors in README.MD.
    • Moved strings to Localization file.
    • Corrected style violations.
  • Updated build badges to reflect correct Azure DevOps build Definition Id - fixes issue #656.
  • Set testRunTitle for PublishTestResults steps so that a helpful name is displayed in Azure DevOps for each test run.
  • Set a display name on all the jobs and tasks in the CI pipeline - fixes issue #663.

Deprecated

  • None

Removed

  • xPSDesiredStateConfiguration
    • Removed files no longer required by new CI process.

Fixed

  • MSFT_xRegistryResource
    • Fixes issue that the Set-TargetResource does not determine the type of registry value correctly. issue #436
  • Fixed Pull Server example links in README.MD - fixes issue #659.
  • Fixed GitVersion.yml feature and fix Regex - fixes issue #660.
  • Fix import statement in all tests, making sure it throws if module DscResource.Test cannot be imported - fixes issue #666.
  • Fix deploy stage in CI pipeline to prevent it executing against forks of the repository - fixes issue #665.
  • Fix deploy fork detection in CI pipeline - fixes issue #668.

Security

  • None

[8.10.0.0] - 2019-09-19

Changed

  • Changes to xPSDesiredStateConfiguration
    • Fix keywords to lower-case to align with guideline.
  • Added SMB PullServer support for publishing.

[8.9.0.0] - 2019-08-08

Changed

  • MSFT_xRemoteFile:
    • Add a retry mechanism when the download fails.
  • Fixes #631, typo in SQL connection string property name

[8.8.0.0] - 2019-06-26

Changed

  • Ports fix for the following issue: Issue #142 Fixes issue where MsiPackage Integration tests fail if the test HttpListener fails to start. Moves the test HttpListener objects to dynamically assigned, higher numbered ports to avoid conflicts with other services, and also checks to ensure that the ports are available before using them. Adds checks to ensure that no outstanding HTTP server jobs are running before attempting to setup a new one. Also adds additional instrumentation to make it easier to troubleshoot issues with the test HttpListener objects in the future.

[8.7.0.0] - 2019-05-15

Changed

  • MSFT_xWindowsProcess:
    • Fixes issue where a process will fail to be created if a $Path is passed that contains one or more spaces, and the resource is using $Credentials.
    • Fixes issue where a process will fail to be created if $Arguments are passed that contain one or more spaces (with or without credentials).
    • Fixes issue where Integration tests fail if empty Arguments are passed. issue #605
    • Heavily refactors MSFT_xWindowsProcess.Integration.Tests.ps1 and adds more Path and Arguments related test cases.
    • Removes reliance on test file WindowsProcessTestProcess.
  • Fixes test failures in xWindowsOptionalFeatureSet.Integration.Tests.ps1 due to accessing the windowsOptionalFeatureName variable before it is assigned. issue #612
  • MSFT_xDSCWebService
    • Fixes issue #536 and starts the deprecation process for configuring a windows firewall (exception) rule using xDSCWebService
    • Fixes issue #463 and fixes some bugs introduced with the new firewall rule handling

[8.6.0.0] - 2019-04-03

Changed

  • Fixes style inconsistencies in PublishModulesAndMofsToPullServer.psm1. issue #530
  • Suppresses forced Verbose output in MSFT_xArchive.EndToEnd.Tests.ps1, MSFT_xDSCWebService.Integration.tests.ps1, MSFT_xPackageResource.Integration.Tests.ps1, MSFT_xRemoteFile.Tests.ps1, MSFT_xUserResource.Integration.Tests.ps1, MSFT_xWindowsProcess.Integration.Tests.ps1, and xFileUpload.Integration.Tests.ps1. issue #514
  • Fixes issue in xGroupResource Integration tests where the tests would fail if the System.DirectoryServices.AccountManagement namespace was not loaded.
  • Tests\Integration\MSFT_xDSCWebService.Integration.tests.ps1:
    • Fixes issue where tests fail if a self signed certificate for DSC does not already exist. issue #581
  • Fixes all instances of the following PSScriptAnalyzer issues:
    • PSUseOutputTypeCorrectly
    • PSAvoidUsingConvertToSecureStringWithPlainText
    • PSPossibleIncorrectComparisonWithNull
    • PSAvoidDefaultValueForMandatoryParameter
    • PSAvoidUsingInvokeExpression
    • PSUseDeclaredVarsMoreThanAssignments
    • PSAvoidGlobalVars
  • xPackage and xMsiPackage
    • Add an ability to ignore a pending reboot if requested by package installation.
  • xRemoteFile
    • Updated MatchSource description in README.md. issue #409
    • Improved layout of MOF file to move description left.
    • Added function help for all functions.
    • Moved New-InvalidDataException to CommonResourceHelper.psm1. issue #544
  • Added full stops to the end of all functions help in CommonResourceHelper.psm1.
  • Added unit tests for New-InvalidArgumentException, New-InvalidDataException and New-InvalidOperationException CommonResourceHelper.psm1 functions.
  • Changes to MSFT_xDSCWebService
    • Fixed issue #528 : Unable to disable selfsigned certificates using AcceptSelfSignedCertificates=$false
    • Fixed issue #460 : Redeploy DSC Pull Server fails with error
  • Opt-in to the following Meta tests:
    • Common Tests - Custom Script Analyzer Rules
    • Common Tests - Flagged Script Analyzer Rules
    • Common Tests - New Error-Level Script Analyzer Rules
    • Common Tests - Relative Path Length
    • Common Tests - Required Script Analyzer Rules
    • Common Tests - Validate Markdown Links
  • Add .markdownlint.json file using settings from here as a starting point.
  • Changes to Tests\Unit\MSFT_xMsiPackage.Tests.ps1
    • Fixes issue where tests fail if executed from a drive other than C:. issue #573
  • Changes to Tests\Integration\xWindowsOptionalFeatureSet.Integration.Tests.ps1
    • Fixes issue where tests fail if a Windows Optional Feature that is expected to be disabled has a feature state of 'DisabledWithPayloadRemoved'. issue #586
  • Changes to Tests\Unit\MSFT_xPackageResource.Tests.ps1
    • Fixes issue where tests fail if run from a folder that contains spaces. issue #580
  • Changes to test helper Enter-DscResourceTestEnvironment so that it only updates DSCResource.Tests when it is longer than 60 minutes since it was last pulled. This is to improve performance of test execution and reduce the likelihood of connectivity issues caused by inability to pull DSCResource.Tests. issue #505
  • Updated CommonTestHelper.psm1 to resolve style guideline violations.
  • Adds helper functions for use when creating test administrator user accounts, and updates the following tests to use credentials created with these functions:
    • MSFT_xScriptResource.Integration.Tests.ps1
    • MSFT_xServiceResource.Integration.Tests.ps1
    • MSFT_xWindowsProcess.Integration.Tests.ps1
    • xServiceSet.Integration.Tests.ps1
  • Fixes the following issues:

[8.5.0.0] - 2019-02-21

Changed

  • Pull server module publishing
    • Removed forced verbose logging from CreateZipFromSource, Publish-DSCModulesAndMof and Publish-MOFToPullServer as it polluted the console.
  • Corrected GitHub Pull Request template to remove referral to BestPractices.MD which has been combined into StyleGuidelines.md (issue #520).
  • xWindowsOptionalFeature
    • Suppress useless verbose output from Import-Module cmdlet. (issue #453).
  • Changes to xRemoteFile
    • Corrected a resource name in the example xRemoteFile_DownloadFileConfig.ps1
  • Fix MSFT_xDSCWebService to find Microsoft.Powershell.DesiredStateConfiguration.Service.Resources.dll when server is configured with pt-BR Locales (issue #284).
  • Changes to xDSCWebService
    • Fixed an issue which prevented the removal of the IIS Application Pool created during deployment of an DSC Pull Server instance. (issue #464)
    • Fixed an issue where a Pull Server cannot be deployed on a machine when IIS Express is installed aside a full blown IIS (issue #191)
  • Update CommonResourceHelper unit tests to meet Pester 4.0.0 standards (issue #473).
  • Update ResourceHelper unit tests to meet Pester 4.0.0 standards (issue #473).
  • Update MSFT_xDSCWebService unit tests to meet Pester 4.0.0 standards (issue #473).
  • Update MSFT_xDSCWebService integration tests to meet Pester 4.0.0 standards (issue #473).
  • Refactored MSFT_xDSCWebService integration tests to meet current standards and to use Pester TestDrive.
  • xArchive
    • Fix end-to-end tests (issue #457).
    • Update integration tests to meet Pester 4.0.0 standards.
    • Update end-to-end tests to meet Pester 4.0.0 standards.
    • Update unit and integration tests to meet Pester 4.0.0 standards.
    • Wrapped all path and identifier strings in verbose messages with quotes to make it easier to identify the limit of the string when debugging.
    • Refactored date/time checksum code to improve testability and ensure tests can run on machines with localized datetime formats that are not US.
    • Fix 'Get-ArchiveEntryLastWriteTime' to return [datetime] (issue #471).
    • Improved verbose logging to make debugging path issues easier.
    • Added handling for '/' as a path seperator by backporting code from PSDscResources - (issue #469).
    • Copied unit tests from PSDscResources.
    • Added .gitattributes file and removed git configuration from AppVeyor to ensure CRLF settings are configured correctly for the repository.
  • Updated '.vscode\settings.json' to refer to AnalyzerSettings.psd1 so that custom syntax problems are highlighted in Visual Studio Code.
  • Fixed style guideline violations in CommonResourceHelper.psm1.
  • Changes to xService
    • Fixes issue where Get-TargetResource or Test-TargetResource will throw an exception if the target service is configured with a non-existent dependency.
    • Refactored Get-TargetResource Unit tests.
  • Changes to xPackage
    • Fixes an issue where incorrect verbose output was displayed if product found. (issue #446)
  • Fixes files which are getting triggered for re-encoding after recent pull request (possibly #472).
  • Moves version and change history from README.MD to new file, CHANGELOG.MD.
  • Fixes markdown issues in README.MD and HighQualityResourceModulePlan.md.
  • Opted in to 'Common Tests - Validate Markdown Files'
  • Changes to xPSDesiredStateConfiguration
    • In AppVeyor CI the tests are split into three separate jobs, and also run tests on two different build worker images (Windows Server 2012R2 and Windows Server 2016). The common tests are only run on the Windows Server 2016 build worker image. Helps with issue #477.
  • xGroup
    • Corrected style guideline violations. (issue #485)
  • xWindowsProcess
    • Corrected style guideline violations. (issue #496)
  • Changes to PSWSIISEndpoint.psm1
    • Fixes most PSScriptAnalyzer issues.
  • Changes to xRegistry
    • Fixed an issue that fails to remove reg key when the Key is specified as common registry path. (issue #444)
  • Changes to xService
    • Added support for Group Managed Service Accounts
  • Adds new Integration tests for MSFT_xDSCWebService and removes old Integration test file, MSFT_xDSCWebService.xxx.ps1.
  • xRegistry
    • Corrected style guideline violations. (issue #489)
  • Fix script analyzer issues in UseSecurityBestPractices.psm1. issue #483
  • Fixes script analyzer issues in xEnvironmentResource. issue #484
  • Fixes script analyzer issues in MSFT_xMsiPackage.psm1. issue #486
  • Fixes script analyzer issues in MSFT_xPackageResource.psm1. issue #487
  • Adds spaces between variable types and variables, and changes Type Accelerators to Fully Qualified Type Names on affected code.
  • Fixes script analyzer issues in MSFT_xPSSessionConfiguration.psm1 and convert Type Accelerators to Fully Qualified Type Names issue #488.
  • Adds spaces between array members.
  • Fixes script analyzer issues in MSFT_xRemoteFile.psm1 and correct general style violations. (issue #490)
  • Remove unnecessary whitespace from line endings.
  • Add statement to README.md regarding the lack of testing of this module with PowerShell 4 issue #522.
  • Fixes script analyzer issues in MSFT_xWindowsOptionalFeature.psm1 and correct general style violations. issue #494)
  • Fixes script analyzer issues in MSFT_xRemoteFile.psm1 missed from issue #490.
  • Fix script analyzer issues in MSFT_xWindowsFeature.psm1. issue #493
  • Fix script analyzer issues in MSFT_xUserResource.psm1. issue #492
  • Moves calls to set $global:DSCMachineStatus = 1 into a helper function to reduce the number of locations where we need to suppress PSScriptAnalyzer rules PSAvoidGlobalVars and PSUseDeclaredVarsMoreThanAssignments.
  • Adds spaces between comment hashtags and comments.
  • Fixes script analyzer issues in MSFT_xServiceResource.psm1. issue #491
  • Fixes script analyzer issues in MSFT_xWindowsPackageCab.psm1. issue #495
  • xFileUpload:
    • Fixes script analyzer issues in xFileUpload.schema.psm1. issue #497
    • Update to meet style guidelines.
    • Added Integration tests.
    • Updated manifest Author, Company and Copyright to match standards.
  • Updated module manifest Copyright to match standards and remove year.
  • Auto-formatted the module manifest to improve layout.
  • Fix Run-On Words in README.md.
  • Changes to xPackage
    • Fix an misnamed variable that causes an error during error message output. issue #449)
  • Fixes script analyzer issues in MSFT_xPSSessionConfiguration.psm1. issue #566
  • Fixes script analyzer issues in xGroupSet.schema.psm1. issue #498
  • Fixes script analyzer issues in xProcessSet.schema.psm1. issue #499
  • Fixes script analyzer issues in xServiceSet.schema.psm1. issue #500
  • Fixes script analyzer issues in xWindowsFeatureSet.schema.psm1. issue #501
  • Fixes script analyzer issues in xWindowsOptionalFeatureSet.schema.psm1 issue #502
  • Updates Should statements in Pester tests to use dashes before parameters.
  • Added a CODE_OF_CONDUCT.md with the same content as in the README.md issue #562
  • Replaces Type Accelerators with fully qualified type names.

[8.4.0.0] - 2018-07-25

Changed

  • Changes to xPSDesiredStateConfiguration
    • Opt-in for the common tests validate module files and script files.
    • All files change to encoding UTF-8 (without byte order mark).
    • Opt-in for the common test for example validation.
    • Added Visual Studio Code workspace settings that helps with formatting against the style guideline.
    • Update all examples for them to be able pass the common test validation.
  • xEnvironment path documentation update demonstrating usage with multiple values (issue #415. Alex Kokkinos (@alexkokkinos)
  • Changes to xWindowsProcess
    • Increased the wait time in the integration tests since the tests still failed randomly (issue #420).
  • Renamed and updated examples to be able to publish them to PowerShell Gallery.
    • Sample_xScript.ps1 → xScript_WatchFileContentConfig.ps1
    • Sample_xService_UpdateStartupTypeIgnoreState.ps1 → xService_UpdateStartupTypeIgnoreStateConfig.ps1
    • Sample_xWindowsProcess_Start.ps1 → xWindowsProcess_StartProcessConfig.ps1
    • Sample_xWindowsProcess_StartUnderUser.ps1 → xWindowsProcess_StartProcessUnderUserConfig.ps1
    • Sample_xWindowsProcess_Stop.ps1 → xWindowsProcess_StopProcessConfig.ps1
    • Sample_xWindowsProcess_StopUnderUser.ps1 → xWindowsProcess_StopProcessUnderUserConfig.ps1
    • Sample_xUser_CreateUser.ps1.ps1 → xUser_CreateUserConfig.ps1
    • Sample_xUser_Generic.ps1.ps1 → xUser_CreateUserDetailedConfig.ps1
    • Sample_xWindowsFeature.ps1 → xWindowsFeature_AddFeatureConfig.ps1
    • Sample_xWindowsFeatureSet_Install.ps1 → xWindowsFeatureSet_AddFeaturesConfig.ps1
    • Sample_xWindowsFeatureSet_Uninstall.ps1 → xWindowsFeatureSet_RemoveFeaturesConfig.ps1
    • Sample_xRegistryResource_AddKey.ps1 → xRegistryResource_AddKeyConfig.ps1
    • Sample_xRegistryResource_RemoveKey.ps1 → xRegistryResource_RemoveKeyConfig.ps1
    • Sample_xRegistryResource_AddOrModifyValue.ps1 → xRegistryResource_AddOrModifyValueConfig.ps1
    • Sample_xRegistryResource_RemoveValue.ps1 → xRegistryResource_RemoveValueConfig.ps1
    • Sample_xService_CreateService.ps1 → xService_CreateServiceConfig.ps1
    • Sample_xService_DeleteService.ps1 → xService_RemoveServiceConfig.ps1
    • Sample_xServiceSet_StartServices.ps1 → xServiceSet_StartServicesConfig.ps1
    • Sample_xServiceSet_BuiltInAccount → xServiceSet_EnsureBuiltInAccountConfig.ps1
    • Sample_xWindowsPackageCab → xWindowsPackageCab_InstallPackageConfig
    • Sample_xWindowsOptionalFeature.ps1 → xWindowsOptionalFeature_EnableConfig.ps1
    • Sample_xWindowsOptionalFeatureSet_Enable.ps1 → xWindowsOptionalFeatureSet_EnableConfig.ps1
    • Sample_xWindowsOptionalFeatureSet_Disable.ps1 → xWindowsOptionalFeatureSet_DisableConfig.ps1
    • Sample_xRemoteFileUsingProxy.ps1 → xRemoteFile_DownloadFileUsingProxyConfig.ps1
    • Sample_xRemoteFile.ps1 → xRemoteFile_DownloadFileConfig.ps1
    • Sample_xProcessSet_Start.ps1 → xProcessSet_StartProcessConfig.ps1
    • Sample_xProcessSet_Stop.ps1 → xProcessSet_StopProcessConfig.ps1
    • Sample_xMsiPackage_UninstallPackageFromHttps.ps1 → xMsiPackage_UninstallPackageFromHttpsConfig.ps1
    • Sample_xMsiPackage_UninstallPackageFromFile.ps1 → xMsiPackage_UninstallPackageFromFileConfig.ps1
    • Sample_xMsiPackage_InstallPackageFromFile → xMsiPackage_InstallPackageConfig.ps1
    • Sample_xGroup_SetMembers.ps1 → xGroup_SetMembersConfig.ps1
    • Sample_xGroup_RemoveMembers.ps1 → xGroup_RemoveMembersConfig.ps1
    • Sample_xGroupSet_AddMembers.ps1 → xGroupSet_AddMembersConfig.ps1
    • Sample_xFileUpload.ps1 → xFileUpload_UploadToSMBShareConfig.ps1
    • Sample_xEnvironment_CreateMultiplePathVariables.ps1 → xEnvironment_AddMultiplePathsConfig.ps1
    • Sample_xEnvironment_RemovePathVariables.ps1 → xEnvironment_RemoveMultiplePathsConfig.ps1
    • Sample_xEnvironment_CreateNonPathVariable.ps1 → xEnvironment_CreateNonPathVariableConfig.ps1
    • Sample_xEnvironment_Remove.ps1 → xEnvironment_RemoveVariableConfig.ps1
    • Sample_xArchive_ExpandArchiveChecksumAndForce.ps1 → xArchive_ExpandArchiveChecksumAndForceConfig.ps1
    • Sample_xArchive_ExpandArchiveDefaultValidationAndForce.ps1 → xArchive_ExpandArchiveDefaultValidationAndForceConfig.ps1
    • Sample_xArchive_ExpandArchiveNoValidation.ps1 → xArchive_ExpandArchiveNoValidationConfig.ps1
    • Sample_xArchive_ExpandArchiveNoValidationCredential.ps1 → xArchive_ExpandArchiveNoValidationCredentialConfig.ps1
    • Sample_xArchive_RemoveArchiveChecksum.ps1 → xArchive_RemoveArchiveChecksumConfig.ps1
    • Sample_xArchive_RemoveArchiveNoValidation.ps1 → xArchive_RemoveArchiveNoValidationConfig.ps1
    • Sample_InstallExeCreds_xPackage.ps1 → xPackage_InstallExeUsingCredentialsConfig.ps1
    • Sample_InstallExeCredsRegistry_xPackage.ps1 → xPackage_InstallExeUsingCredentialsAndRegistryConfig.ps1
    • Sample_InstallMSI_xPackage.ps1 → xPackage_InstallMsiConfig.ps1
    • Sample_InstallMSIProductId_xPackage.ps1 → xPackage_InstallMsiUsingProductIdConfig.ps1
  • New examples
    • xUser_RemoveUserConfig.ps1
    • xWindowsFeature_AddFeatureUsingCredentialConfig.ps1
    • xWindowsFeature_AddFeatureWithLogPathConfig.ps1
    • xWindowsFeature_RemoveFeatureConfig.ps1
    • xService_ChangeServiceStateConfig.ps1
    • xWindowsOptionalFeature_DisableConfig.ps1
    • xPSEndpoint_NewConfig.ps1
    • xPSEndpoint_NewWithDefaultsConfig.ps1
    • xPSEndpoint_RemoveConfig.ps1
    • xPSEndpoint_NewCustomConfig.ps1
  • Removed examples
    • Sample_xPSSessionConfiguration.ps1 - This file was split up in several examples, those starting with 'xPSEndpoint*'.
    • Sample_xMsiPackage_InstallPackageFromHttp - This was added to the example xMsiPackage_InstallPackageConfig.ps1 so the example sows either URI scheme.
    • Sample_xEnvironment_CreatePathVariable.ps1 - Same as the new example xEnvironment_AddMultiplePaths.ps1

[8.3.0.0] - 2018-06-13

Changed

  • Changes to xPSDesiredStateConfiguration
  • Changes to xWindowsProcess
    • Integration tests for this resource should no longer fail randomly. A timing issue made the tests fail in certain scenarios (issue #420).
  • Changes to xDSCWebService
    • Added the option to use a certificate based on it's subject and template name instead of it's thumbprint. Resolves issue #205.
    • xDSCWebService: Fixed an issue where Test-WebConfigModulesSetting would return $true when web.config contains a module and the desired state was for it to be absent. Resolves issue #418.
  • Updated the main DSCPullServerSetup readme to read easier, then updates the PowerShell comment based help for each function to follow normal help standards. James Pogran (@jpogran)
  • xRemoteFile: Remove progress bar for file download. This resolves issues #165 and #383 Claudio Spizzi (@claudiospizzi)

[8.2.0.0] - 2018-04-20

Changed

  • xDSCWebService: Disable installing Microsoft.Powershell.Desiredstateconfiguration.Service.Resources.dll as a temporary workaround since the binary is missing on the latest Windows builds.

[8.1.0.0] - 2018-03-22

Changed

  • xDSCWebService: Enable SQL provider configuration

[8.0.0.0] - 2017-11-15

Changed

  • xDSCWebService
    • BREAKING CHANGE: The Pull Server will now run in a 64 bit IIS process by default. Enable32BitAppOnWin64 needs to be set to TRUE for the Pull Server to run in a 32 bit process.

[7.0.0.0] - 2017-08-23

Changed

  • xService
    • BREAKING CHANGE: The service will now return as compliant if the service is not installed and the StartupType is set to Disabled regardless of the value of the Ensure property.
  • Fixed misnamed certificate thumbprint variable in example Sample_xDscWebServiceRegistrationWithSecurityBestPractices

[6.4.0.0] - 2017-05-09

Changed

  • xGroup:
    • Added updates from PSDscResources:
      • Added support for domain based group members on Nano server

[6.3.0.0] - 2017-05-01

Changed

  • xDSCWebService
    • Fixed an issue where all 64bit IIS application pools stop working after installing DSC Pull Server, because IISSelfSignedCertModule(32bit) module was registered without bitness32 precondition.

[6.2.0.0] - 2017-04-19

Changed

  • xMsiPackage:
    • Created high quality MSI package manager resource
  • xArchive:
    • Fixed a minor bug in the unit tests where sometimes the incorrect DateTime format was used.
  • xWindowsFeatureSet:
    • Had the wrong parameter name in one test case.

[6.1.0.0] - 2017-03-08

Changed

  • Moved DSC pull server setup tests to DSCPullServerSetup folder for new common tests.
  • xArchive:
    • Updated the resource to be a high quality resource
    • Transferred the existing "unit" tests to integration tests
    • Added unit and end-to-end tests
    • Updated documentation and examples
  • xUser
    • Fixed error handling in xUser
  • xRegistry
    • Fixed bug where an error was thrown when running Get-DscConfiguration if the registry key already existed
  • Updated Test-IsNanoServer cmdlet to properly test for a Nano server rather than the core version of PowerShell

[6.0.0.0] - 2017-02-03

Changed

  • xEnvironment
    • Updated resource to follow HQRM guidelines.
    • Added examples.
    • Added unit and end-to-end tests.
    • Significantly cleaned the resource.
    • Minor Breaking Change where the resource will now throw an error if no value is provided, Ensure is set to present, and the variable does not exist, whereas before it would create an empty registry key on the machine in this case (if this is the desired outcome then use the Registry resource).
    • Added a new Write property 'Target', which specifies whether the user wants to set the machine variable, the process variable, or both (previously it was setting both in most cases).
  • xGroup:
    • Group members in the "NT Authority", "BuiltIn" and "NT Service" scopes should now be resolved without an error. If you were seeing the errors "Exception calling ".ctor" with "4" argument(s): "Server names cannot contain a space character."" or "Exception calling ".ctor" with "2" argument(s): "Server names cannot contain a space character."", this fix should resolve those errors. If you are still seeing one of the errors, there is probably another local scope we need to add. Please let us know.
    • The resource will no longer attempt to resolve group members if Members, MembersToInclude, and MembersToExclude are not specified.

[5.2.0.0] - 2017-01-26

Changed

  • xWindowsProcess
    • Minor updates to integration tests because one of the tests was flaky.
  • xRegistry:
    • Added support for forward slashes in registry key names. This resolves issue #285.

[5.1.0.0] - 2017-12-17

Changed

  • xWindowsFeature:
    • Added Catch to ignore RuntimeException when importing ServerManager module. This resolves issue #69.
    • Updated unit tests.
  • xPackage:
    • No longer checks for package installation when a reboot is required. This resolves issue #52.
    • Ensures a space is added to MSI installation arguments. This resolves issue #195.
    • Adds RunAsCredential parameter to permit installing packages with specific user account. This resolves issue #221.
    • Fixes null verbose log output error. This resolves issue #224.
  • xDSCWebService
    • Fixed issue where resource would fail to read redirection.config file. This resolves issue #191
  • xArchive
    • Fixed issue where resource would throw exception when file name contains brackets. This resolves issue #255.
  • xScript
    • Cleaned resource for high quality requirements
    • Added unit tests
    • Added integration tests
    • Updated documentation and example
  • ResourceSetHelper:
    • Updated common functions for all 'Set' resources.
    • Added unit tests
  • xGroupSet:
    • Updated resource to use new ResouceSetHelper functions and added integration tests.
  • xGroup:
    • Cleaned module imports, fixed PSSA issues, and set ErrorActionPreference to stop.
  • xService:
    • Cleaned resource functions to enable StrictMode.
    • Fixed bug in which Set-TargetResource would create a service when Ensure set to Absent and Path specified.
    • Added unit tests.
    • Added integration tests for BuiltInAccount and Credential.
  • xServiceSet:
    • Updated resource to use new ResouceSetHelper functions and added integration tests.
    • Updated documentation and example
  • xWindowsProcess
    • Cleaned resource as per high quality guidelines.
    • Added unit tests.
    • Added integration tests.
    • Updated documentation.
    • Updated examples.
    • Fixed bug in Get-TargetResource.
    • Added a 'Count' value to the hashtable returned by Get-TargetResource so that the user can see how many instances of the process are running.
    • Fixed bug in finding the path to the executable.
    • Changed name to be xWindowsProcess everywhere.
  • xWindowsOptionalFeatureSet
    • Updated resource to use new ResouceSetHelper functions and added integration tests.
    • Updated documentation and examples
  • xWindowsFeatureSet
    • Updated resource to use new ResouceSetHelper functions and added integration tests.
    • Updated documentation and examples
  • xProcessSet
    • Updated resource to use new ResouceSetHelper functions and added integration tests.
    • Updated documentation and examples
  • xRegistry
    • Updated resource to be high-quality
    • Fixed bug in which the user could not set a Binary registry value to 0
    • Added unit and integration tests
    • Added examples and updated documentation

[5.0.0.0] - 2017-11-02

Changed

  • xWindowsFeature:
    • Cleaned up resource (PSSA issues, formatting, etc.)
    • Added/Updated Tests and Examples
    • BREAKING CHANGE: Removed the unused Source parameter
    • Updated to a high quality resource
  • xDSCWebService:
    • Add DatabasePath property to specify a custom database path and enable multiple pull server instances on one server.
    • Rename UseUpToDateSecuritySettings property to UseSecurityBestPractices.
    • Add DisableSecurityBestPractices property to specify items that are excepted from following best practice security settings.
  • xGroup:
    • Fixed PSSA issues
    • Formatting updated as per style guidelines
    • Missing comment-based help added for Get-/Set-/Test-TargetResource
    • Typos fixed in Unit test script
    • Unit test 'Get-TargetResource/Should return hashtable with correct values when group has no members' updated to handle the expected empty Members array correctly
    • Added a lot of unit tests
    • Cleaned resource
  • xUser:
    • Fixed PSSA/Style violations
    • Added/Updated Tests and Examples
  • Added xWindowsPackageCab
  • xService:
    • Fixed PSSA/Style violations
    • Updated Tests
    • Added 'Ignore' state

[4.0.0.0] - 2017-09-21

Changed

  • xDSCWebService:
    • Added setting of enhanced security
    • Cleaned up Examples
    • Cleaned up pull server verification test
  • xProcess:
    • Fixed PSSA issues
    • Corrected most style guideline issues
  • xPSSessionConfiguration:
    • Fixed PSSA and style issues
    • Renamed internal functions to follow verb-noun formats
    • Decorated all functions with comment-based help
  • xRegistry:
    • Fixed PSSA and style issues
    • Renamed internal functions to follow verb-noun format
    • Decorated all functions with comment-based help
    • Merged with in-box Registry
    • Fixed registry key and value removal
    • Added unit tests
  • xService:
    • Added descriptions to MOF file.
    • Added additional details to parameters in Readme.md in a format that can be generated from the MOF.
    • Added DesktopInteract parameter.
    • Added standard help headers to *-TargetResource functions.
    • Changed indent/format of all function help headers to be consistent.
    • Fixed line length violations.
    • Changed localization code so only a single copy of localization strings are required.
    • Removed localization strings from inside module file.
    • Updated unit tests to use standard test enviroment configuration and header.
    • Recreated unit tests to be non-destructive.
    • Created integration tests.
    • Allowed service to be restarted immediately rather than wait for next LCM run.
    • Changed helper function names to valid verb-noun format.
    • Removed New-TestService function from MSFT_xServiceResource.TestHelper.psm1 because it should not be used.
    • Fixed error calling Get-TargetResource when service does not exist.
    • Fixed bug with Get-TargetResource returning StartupType 'Auto' instead of 'Automatic'.
    • Converted to HQRM standards.
    • Removed obfuscation of exception in Get-Win32ServiceObject function.
    • Fixed bug where service start mode would be set to auto when it already was set to auto.
    • Fixed error message content when start mode can not be changed.
    • Removed shouldprocess from functions as not required.
    • Optimized Test-TargetResource and Set-TargetResource by removing repeated calls to Get-Service and Get-CimInstance.
    • Added integration test for testing changes to additional service properties as well as changing service binary path.
    • Modified Set-TargetResource so that newly created service created with minimal properties and then all additional properties updated (simplification of code).
    • Added support for changing Service Description and DisplayName parameters.
    • Fixed bug when changing binary path of existing service.
  • Removed test log output from repo.
  • xWindowsOptionalFeature:
    • Cleaned up resource (PSSA issues, formatting, etc.)
    • Added example script
    • Added integration test
    • BREAKING CHANGE: Removed the unused Source parameter
    • Updated to a high quality resource
  • Removed test log output from repo.
  • Removed the prefix MSFT_ from all files and folders of the composite resources in this module because they were unavailable to Get-DscResource and Import-DscResource.
    • xFileUpload
    • xGroupSet
    • xProcessSet
    • xServiceSet
    • xWindowsFeatureSet
    • xWindowsOptionalFeatureSet

[3.13.0.0] - 2017-10-08

Changed

  • Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey.
  • Updated appveyor.yml to use the default image.
  • Merged xPackage with in-box Package resource and added tests.
  • xPackage: Re-implemented parameters for installation check from registry key value.
  • xGroup:
    • Fixed Verbose output in Get-MembersAsPrincipals function.
    • Fixed bug when credential parameter passed does not contain local or domain context.
    • Fixed logic bug in MembersToInclude and MembersToExclude.
    • Fixed bug when trying to include the built-in Administrator in Members.
    • Fixed bug where Test-TargetResource would check for members when none specified.
    • Fix bug in Test-TargetResourceOnFullSKU function when group being set to a single member.
    • Fix bug in Set-TargetResourceOnFullSKU function when group being set to a single member.
    • Fix bugs in Assert-GroupNameValid to throw correct exception.
  • xService
    • Updated xService resource to allow empty string for Description parameter.
  • Merged xProcess with in-box Process resource and added tests.
  • Fixed PSSA issues in xPackageResource.

[3.12.0.0] - 2017-06-30

Changed

  • Removed localization for now so that resources can run on non-English systems.

[3.11.0.0] - 2017-06-29

Changed

  • xRemoteFile:
    • Added parameters:
      • TimeoutSec
      • Proxy
      • ProxyCredential
    • Added unit tests.
    • Corrected Style Guidelines issues.
    • Added Localization support.
    • URI parameter supports File://.
    • Get-TargetResource returns URI parameter.
    • Fixed logging of error message reported when download fails.
    • Added new example Sample_xRemoteFileUsingProxy.ps1.
  • Examples: Fixed missing newline at end of PullServerSetupTests.ps1.
  • xFileUpload: Added PSSA rule suppression attribute.
  • xPackageResource: Removed hardcoded ComputerName 'localhost' parameter from Get-WMIObject to eliminate PSSA rule violation. The parameter is not required.
  • Added .gitignore to prevent DSCResource.Tests from being commited to repo.
  • Updated AppVeyor.yml to use WMF 5 build OS so that latest test methods work.
  • Updated xWebService resource to not deploy Devices.mdb if esent provider is used
  • Fixed $script:netsh parameter initialization in xWebService resource that was causing CIM exception when EnableFirewall flag was specified.
  • xService:
    • Fixed a bug where, despite no state specified in the config, the resource test returns false if the service is not running
    • Fixed bug in which Automatice StartupType did not match the 'Auto' StartMode in Test-TargetResource.
  • xPackage: Fixes bug where CreateCheckRegValue was not being removed when uninstalling packages
  • Replaced New-NetFirewallRule cmdlets with netsh as this cmdlet is not available by default on some downlevel OS such as Windows 2012 R2 Core.
  • Added the xEnvironment resource
  • Added the xWindowsFeature resource
  • Added the xScript resource
  • Added the xUser resource
  • Added the xGroupSet resource
  • Added the xProcessSet resource
  • Added the xServiceSet resource
  • Added the xWindowsFeatureSet resource
  • Added the xWindowsOptionalFeatureSet resource
  • Merged the in-box Service resource with xService and added tests for xService
  • Merged the in-box Archive resource with xArchive and added tests for xArchive
  • Merged the in-box Group resource with xGroup and added tests for xGroup

[3.10.0.0] - 2016-05-18

Changed

  • Publish-ModuleToPullServer
  • Publish-MOFToPullServer

[3.9.0.0] - 2016-03-31

Changed

  • Added more information how to use Publish-DSCModuleAndMof cmdlet and samples
  • Removed compliance server samples

[3.8.0.0] - 2016-03-13

Changed

  • Added Pester tests to validate pullserver deployement.
  • Removed Compliance Server deployment from xWebservice resource. Fixed database provider selection issue depending on OS flavor
  • Added Publish-DSCModuleAndMof cmdlet to package DSC modules and mof and publish them on DSC enterprise pull server
  • xRemoteFile resource: Added size verification in cache

[3.7.0.0] - 2016-02-03

Changed

  • xService:
    • Fixed a bug where 'Dependencies' property was not picked up and caused exception when set.
  • xWindowsOptionalFeature:
    • Fixed bug where Test-TargetResource method always failed.
    • Added support for Windows Server 2012 (and later) SKUs.
  • Added xRegistry resource

[3.6.0.0] - 2015-12-03

Changed

  • Added CreateCheckRegValue parameter to xPackage resource
  • Added MatchSource parameter to xRemoteFile resource

[3.5.0.0] - 2015-09-11

Changed

  • MSFT_xPackageResource: Added ValidateSet to Get/Set/Test-TargetResource to match MSFT_xPackageResource.schema.mof
  • Fixed bug causing xService to throw error when service already exists
  • Added StartupTimeout to xService resource
  • Removed UTF8 BOM
  • Added code for pull server removal

[3.4.0.0] - 2015-07-24

Changed

  • Added logging inner exception messages in xArchive and xPackage resources
  • Fixed hash calculation in Get-CacheEntry
  • Fixed issue with PSDSCComplianceServer returning HTTP Error 401.2

[3.3.0.0] - 2015-06-09

Changed

  • Add support to xPackage resource for checking different registry hives
  • Added support for new registration properties in xDscWebService resource

[3.2.0.0] - 2015-05-02

Changed

  • xArchive:
    • Fix problems with file names containing square brackets.
  • xDSCWebService:
    • Fix default culture issue.
  • xPackage:
    • Security enhancements.

[3.0.3.4] - 2014-12-18

Changed

  • Multiple issues addressed
    • Corrected output type for Set- and Test-TargetResource functions in xWebSite, xPackage, xArchive, xGroup, xProcess, xService
    • xRemoteFile modified to support creating a directory that does not exist when specified, ensuring idempotency. Also improved error messages.
    • xDSCWebService updated so that Get-TargetResource returns the OData Endpoint URL correctly.
    • In xWindowsOptionalFeature, fixed Test-TargetResource issue requiring Ensure = True. Note: this change requires the previous Ensure values of Enable and Disable to change to Present and Absent

[3.0.2.0] - 2014-08-22

Changed

  • Adding following resources:
    • xGroup

[3.0.1.0] - 2017-07-22

Changed

  • Adding following resources:
    • xFileUpload

[2.0.0.0] - 2017-08-04

Changed

  • Adding following resources:
    • xWindowsProcess
    • xService
    • xRemoteFile
    • xPackage

[1.1.0.0] - 2017-08-04

Changed

  • Fix to remove and recreate the SSL bindings when performing a new HTTPS IIS Endpoint setup.
  • Fix in the resource module to consume WebSite Name parameter correctly

[1.0.0.0] - 2017-08-04

Changed

  • Initial release with the following resources:
    • DscWebService