Skip to content

Releases: dsccommunity/ComputerManagementDsc

v8.0.0-preview0001

08 Feb 18:03
c3d4a95
Compare
Choose a tag to compare
v8.0.0-preview0001 Pre-release
Pre-release

[v8.0.0-preview0001]

Added

  • Added new resource IEEnhancedSecurityConfiguration (moved from module
    xSystemSecurity).

Changed

  • SmbShare:
    • Add parameter ScopeName to support creating shares in a different
      scope - Fixes Issue #284.
  • Added .gitattributes to ensure CRLF is used when pulling repository - Fixes
    Issue #290.
  • SystemLocale:
  • RemoteDesktopAdmin:
    • Correct Context messages in integration tests by adding 'When'.
  • WindowsCapability:
    • Change Test-TargetResource to remove test for valid LogPath.
  • BREAKING CHANGE: Changed resource prefix from MSFT to DSC.
  • Updated to use continuous delivery pattern using Azure DevOps - Fixes
    Issue #295.

Deprecated

  • None

Removed

  • None

Fixed

  • WindowsCapability:
    • Fix A parameter cannot be found that matches parameter name 'Ensure'.
      error in Test-TargetResource - Fixes Issue #297.

Security

  • None

v7.1.0

20 Jan 06:21
Compare
Choose a tag to compare
  • ComputerManagementDsc:
  • Fix minor style issues with missing spaces between param statements and '('.
  • SmbServerConfiguration:
    • New resource for configuring the SMB Server settings.
    • Added examples for SMB Server Configuration.
  • Minor corrections to CHANGELOG.MD.
  • ScheduledTask:
    • Fixed bug when description has any form of whitespace at beginning or
      end the resource would not go into state - Fixes Issue #258.
  • SmbShare:
    • Removal of duplicate code in Add-SmbShareAccessPermission helper function
      fixes Issue #226.

v7.0.0

20 Jan 06:22
Compare
Choose a tag to compare
  • ScheduledTask:
    • Better compatibility with Group LogonType
      when passing BuiltIn groups through ExecuteAsCredential
      • Primary use case is 'BUILTIN\Users'
      • Use the ExecuteAsCredential property to pass the username
        The PSCredential needs a non-null that is ignored
    • Delay property not handled properly on AtLogon and AtStartup trigger - Fixes
      Issue #230.
    • Changed Get-ScheduledTask calls to ScheduledTasks\Get-ScheduledTask to
      avoid name clash with Carbon module. Fixes Issue #248.
    • Cast MultipleInstances value returned by Get-TargetResource to string -
      fixes Issue #255.
  • PendingReboot:
    • Migrated xPendingReboot from xPendingReboot
      and renamed to PendingReboot.
    • Converted to meet HQRM guidelines - Fixes Issue #12.
    • Changed SkipCcmClientSDK parameter to default to $true - Fixes Issue #13.
    • Fixed Test-TargetResource so that if ConfigMgr requires a reboot then
      the pending reboot will be set - Fixes Issue #26.
    • Refactored Test-TargetResource to reduce code duplication and move to a
      data driven design.
    • Refactored Get-TargetResource by adding a new function Get-PendingRebootState
      so that Test-TargetResource no longer needed to use Get-TargetResource. This
      eliminated the need to include write parameters in Get-TargetResource.
    • Converted the call to Invoke-WmiMethod to Invoke-CimMethod.
    • Deleted the code that removes the regRebootLocations variable at the end of
      the resource as it appears to serve no purpose.
  • Correct all tests to meet Pester 4.0 standards.
  • RemoteDesktopAdmin:
    • New resource for configuring Remote Desktop for Administration - fixes
      Issue #224.
  • Updated common function Test-DscParameterState to support ordered comparison
    of arrays by copying function and tests from NetworkingDsc - fixes Issue #250.
  • BREAKING CHANGE: ScheduledTask:
    • Correct output type of DaysInterval,StartTime,WeeksDaysOfWeek,
      and WeeksInterval parameters from Get-TargetResource to match MOF.
    • Refactored Get-TargetResource to remove parameters that
      are not key or required - fixes Issue #249.
    • Added function Test-DateStringContainsTimeZone to determine if a string
      containing a date time includes a time zone.
    • Enable verbose preference to be passed through to Test-DscParameterState.
    • Changed Test-TargetResource so that StartTime is only compared for
      trigger types Daily,Weekly or Once.
  • Fix minor style issues in statement case.

v6.5.0

20 Jan 06:22
Compare
Choose a tag to compare
  • Computer:
    • Fix for 'directory service is busy' error when joining a domain and renaming
      a computer when JoinOU is specified - Fixes Issue #221.
  • Added new resource SmbShare
    • Moved and improved from deprecated module xSmbShare.
  • Changes to ComputerManagementDsc.Common
    • Updated Test-DscParameterState so it now can compare zero item
      collections (arrays).
  • Changes to WindowsEventLog
    • Minor style guideline cleanup.
  • Opt-in to common test to validate localization. Fixed localization strings
    in resources - Fixes Issue #217.
  • PowerShellExecutionPolicy:
    • Removed SupportsShouldProcess as it cannot be used with DSC - Fixes
      Issue #219.
  • Combined all ComputerManagementDsc.ResourceHelper module functions into
    ComputerManagementDsc.Common module - Fixes Issue #218.
    • Minor code cleanup against style guideline.
    • Remove code from New-InvalidOperationException because it was a
      code path that could never could be used due to the parameter
      validation preventing the helper function being called that way.
    • Updated all Get-LocalizationData to latest version from
      DSCResource.Template.
    • Fixed an issue with the helper function Test-IsNanoServer that
      prevented it to work. Though the helper function is not used, so this
      issue was not caught until now when unit tests was added.
    • Improved code coverage.

v6.4.0

20 Jan 05:24
4aef7ff
Compare
Choose a tag to compare
  • ScheduledTask:
    • IdleWaitTimeout returned from Get-TargetResource always null - Fixes Issue #186.
    • Added BuiltInAccount Property to allow running task as one of the build in
      service accounts - Fixes Issue #130.
  • Refactored module folder structure to move resource to root folder of
    repository and remove test harness - fixes Issue #188.
  • Added a CODE_OF_CONDUCT.md with the same content as in the README.md and
    linked to it from README.MD instead.
  • Updated test header for all unit tests to version 1.2.4.
  • Updated test header for all integration to version 1.3.3.
  • Enabled example publish to PowerShell Gallery by adding gallery_api
    environment variable to AppVeyor.yml.

v6.3.0

20 Jan 05:24
9f89bfd
Compare
Choose a tag to compare
  • Correct PSSA custom rule violations - fixes Issue #209.
  • Correct long example filenames for PowerShellExecutionPolicy examples.
  • Opted into Common Tests 'Required Script Analyzer Rules',
    'Flagged Script Analyzer Rules', 'New Error-Level Script Analyzer Rules'
    'Custom Script Analyzer Rules' and 'Relative Path Length' -
    fixes Issue #152.
  • PowerPlan:
    • Added support to specify the desired power plan either as name or guid.
      Fixes Issue #59
    • Changed the resource so it uses Windows APIs instead of WMI/CIM
      (Workaround for Server 2012R2 Core, Nano Server, Server 2019 and Windows 10).
      Fixes Issue #155
      and Issue #65

v6.2.0

20 Jan 05:24
7036a24
Compare
Choose a tag to compare
  • WindowsEventLog:
    • Migrated the xWinEventLog from xWinEventLog
      and renamed to WindowsEventLog.
    • Moved strings in localization file.
    • LogMode is now set with Limit-EventLog,
    • Fixes Issue #18.
  • Updated examples to format required for publishing to PowerShell Gallery - fixes
    Issue #206.
  • Opted into Common Tests 'Validate Example Files To Be Published' and
    'Validate Markdown Links'.

v6.1.0

20 Jan 05:25
e2c87ba
Compare
Choose a tag to compare
  • Updated LICENSE file to match the Microsoft Open Source Team standard.
    Fixes Issue #197.
  • Explicitly removed extra hidden files from release package

v6.0.0

20 Jan 05:26
6f03291
Compare
Choose a tag to compare
  • ScheduledTask:
    • Added support for Group Managed Service Accounts, implemented using the ExecuteAsGMSA
      parameter. Fixes Issue #111
    • Added support to set the Synchronize Across Time Zone option. Fixes Issue #109
  • Added .VSCode settings for applying DSC PSSA rules - fixes Issue #189.
  • BREAKING CHANGE: PowerPlan:
    • Added IsActive Read-Only Property - Fixes Issue #171.
    • InActive power plans are no longer returned with their Name set to null.
      Now, the name is always returned and the Read-Only property of IsActive
      is set accordingly.

v5.2.0

20 Jan 05:27
f0af4cc
Compare
Choose a tag to compare
  • PowershellExecutionPolicy:
    • Updated to meet HQRM guidelines.
    • Migrated the xPowershellExecutionPolicy from xPowershellExecutionPolicy
      and renamed to PowershellExecutionPolicy.
    • Moved strings to localization file.
  • Changed the scope from Global to Script in MSFT_ScheduledTask.Integration.Tests.ps1
  • Changed the scope from Global to Script ComputerManagementDsc.Common.Tests.ps1
  • ScheduledTask:
    • Added support for event based triggers, implemented using the ScheduleType OnEvent
      fixes Issue #167