Skip to content

Releases: dsccommunity/xPSDesiredStateConfiguration

v9.0.0-preview0003

14 Jan 18:56
Compare
Choose a tag to compare
v9.0.0-preview0003 Pre-release
Pre-release

[v9.0.0-preview0003]

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

v9.0.0-preview0002

10 Jan 09:52
98c64f6
Compare
Choose a tag to compare
v9.0.0-preview0002 Pre-release
Pre-release

[v9.0.0-preview0002]

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.

Security

  • None

v9.0.0-preview0001

07 Jan 05:43
4802acd
Compare
Choose a tag to compare
v9.0.0-preview0001 Pre-release
Pre-release

[v9.0.0-preview0001]

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.

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.

Security

  • None

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