Skip to content

Releases: dsccommunity/xPSDesiredStateConfiguration

v8.10.0

25 Dec 00:26
Compare
Choose a tag to compare
  • Changes to xPSDesiredStateConfiguration
    • Fix keywords to lower-case to align with guideline.
  • Added SMB PullServer support for publishing.

v8.9.0

25 Dec 00:25
Compare
Choose a tag to compare
  • MSFT_xRemoteFile:
    • Add a retry mechanism when the download fails.
  • Fixes #631, typo in SQL connection string property name

v8.8.0

25 Dec 00:03
91f1763
Compare
Choose a tag to compare
  • 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.

v8.7.0

25 Dec 00:04
81a897a
Compare
Choose a tag to compare
  • 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

v8.6.0

25 Dec 00:05
a4cce3f
Compare
Choose a tag to compare
  • 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:

v8.5.0

25 Dec 00:05
76144c1
Compare
Choose a tag to compare
  • 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](https://github.com/PowerShell/xPSDesiredSta...
Read more

v8.4.0

25 Dec 00:06
01383b3
Compare
Choose a tag to compare
  • 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

v8.3.0

25 Dec 00:06
5c60d16
Compare
Choose a tag to compare
  • 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)

v8.2.0

25 Dec 00:07
754b22c
Compare
Choose a tag to compare
  • xDSCWebService: Disable installing
    Microsoft.Powershell.Desiredstateconfiguration.Service.Resources.dll as a
    temporary workaround since the binary is missing on the latest Windows
    builds.

v8.1.0

25 Dec 00:07
40f203e
Compare
Choose a tag to compare
  • xDSCWebService: Enable SQL provider configuration