Skip to content

Releases: dsccommunity/ComputerManagementDsc

v10.0.0

25 Jan 15:16
6a7ef14
Compare
Choose a tag to compare

[v10.0.0]

Added

  • SystemProtection
    • New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes Issue #364.
  • SystemRestorePoint
    • New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes Issue #364.
  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed SynchronizeAcrossTimeZone issue where Test always throws False when a date & time is used
      where Daylight Savings Time is in operation. Fixes Issue #374.
    • Fixed Test-DateStringContainsTimeZone to correctly process date strings behind UTC (-), as well
      as UTC Zulu 'Z' strings.
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
    • Updated various parameters with requirements in documentation.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.
  • Made AppVeyor use ModuleFast to resolve dependencies.

Changed

  • BREAKING CHANGE: ScheduledTask
    • StartTime has chnage the type from DateTime to String.
    • StartTime is now processed on the device, rather than at compile time. This makes it possible
      to configure start times based on each device's timezone, rather than being fixed to the time zone
      configured on the device where the Desired State Configuration compilation was run.
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Changed the default StartTime date from today to 1st January 1980 to prevent configuration flip flopping,
      and added note to configuration README to advise always supplying a date, and not just a time.
      Fixes Issue #148.
      Fixes Issue #411.
    • Added examples & note to configuration README to supply a timezone when using SynchronizeAcrossTimeZone.
    • Allow SynchronizeAcrossTimeZone to be used when adding ScheduleType triggers other than 'Once',
      'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM
  • No longer uses alias New-InvalidArgumentException but instead New-ArgumentException

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0006

25 Jan 14:58
6a7ef14
Compare
Choose a tag to compare
v10.0.0-preview0006 Pre-release
Pre-release

[v10.0.0-preview0006]

Added

  • SystemProtection
    • New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes Issue #364.
  • SystemRestorePoint
    • New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes Issue #364.
  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed SynchronizeAcrossTimeZone issue where Test always throws False when a date & time is used
      where Daylight Savings Time is in operation. Fixes Issue #374.
    • Fixed Test-DateStringContainsTimeZone to correctly process date strings behind UTC (-), as well
      as UTC Zulu 'Z' strings.
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
    • Updated various parameters with requirements in documentation.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.
  • Made AppVeyor use ModuleFast to resolve dependencies.

Changed

  • BREAKING CHANGE: ScheduledTask
    • StartTime has chnage the type from DateTime to String.
    • StartTime is now processed on the device, rather than at compile time. This makes it possible
      to configure start times based on each device's timezone, rather than being fixed to the time zone
      configured on the device where the Desired State Configuration compilation was run.
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Changed the default StartTime date from today to 1st January 1980 to prevent configuration flip flopping,
      and added note to configuration README to advise always supplying a date, and not just a time.
      Fixes Issue #148.
      Fixes Issue #411.
    • Added examples & note to configuration README to supply a timezone when using SynchronizeAcrossTimeZone.
    • Allow SynchronizeAcrossTimeZone to be used when adding ScheduleType triggers other than 'Once',
      'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM
  • No longer uses alias New-InvalidArgumentException but instead New-ArgumentException

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0005

25 Jan 14:42
5410bde
Compare
Choose a tag to compare
v10.0.0-preview0005 Pre-release
Pre-release

[v10.0.0-preview0005]

Added

  • SystemProtection
    • New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes Issue #364.
  • SystemRestorePoint
    • New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes Issue #364.
  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
    • Updated various parameters with requirements in documentation.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.
  • Made AppVeyor use ModuleFast to resolve dependencies.

Changed

  • BREAKING CHANGE: ScheduledTask
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM
  • No longer uses alias New-InvalidArgumentException but instead New-ArgumentException

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0004

15 Nov 11:46
5965697
Compare
Choose a tag to compare
v10.0.0-preview0004 Pre-release
Pre-release

[v10.0.0-preview0004]

Added

  • SystemProtection
    • New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes Issue #364.
  • SystemRestorePoint
    • New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes Issue #364.
  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
    • Updated various parameters with requirements in documentation.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.

Changed

  • BREAKING CHANGE: ScheduledTask
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0003

30 Oct 16:11
7b0317d
Compare
Choose a tag to compare
v10.0.0-preview0003 Pre-release
Pre-release

[v10.0.0-preview0003]

Added

  • SystemProtection
    • New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes Issue #364.
  • SystemRestorePoint
    • New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes Issue #364.
  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.

Changed

  • BREAKING CHANGE: ScheduledTask
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0002

22 Oct 14:51
0da217a
Compare
Choose a tag to compare
v10.0.0-preview0002 Pre-release
Pre-release

[v10.0.0-preview0002]

Added

  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument
  • Update all calls to edit the registry so that the value Type is explicitly set.
    Fixes Issue #433.

Changed

  • BREAKING CHANGE: ScheduledTask
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v10.0.0-preview0001

16 Oct 13:36
4975fa8
Compare
Choose a tag to compare
v10.0.0-preview0001 Pre-release
Pre-release

[v10.0.0-preview0001]

Added

  • ScheduledTask
    • Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
      Fixes Issue #282.
    • Added support for StateChange to allow specifying which session state changes should
      trigger the task (with ScheduleType = OnSessionState).
    • Added support for StopAtDurationEnd permitting control over the 'Stop all running tasks
      at the end of the repetition duration' feature.
      Fixes Issue #168.
    • Added support for TriggerExecutionTimeLimit permitting control over per-trigger 'Stop task
      if it runs longer than...' feature.

Fixed

  • BREAKING CHANGE: ScheduledTask
    • Fixed User parameter to correctly return the user that triggers an AtLogon or OnSessionState
      Schedule Type, instead of the current value of ExecuteAsCredential. This parameter
      is only valid when using the AtLogon and OnSessionState Schedule Types.
    • Fixed User parameter to permit use even if LogonType = Group.
    • Updated RandomDelay logic from a blacklist to a whitelist.
    • Updated Delay parameter logic to reflect other TimeSpan based values.
    • Updated unit tests to use Should -Invoke for Pester 5 compatibility.
  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument

Changed

  • BREAKING CHANGE: ScheduledTask
    • Allow StartTime to be used to set the 'Activate' setting when adding ScheduleType triggers
      other than 'Once', 'Daily' and 'Weekly'.
    • Updated Delay parameter to support ScheduleType AtLogon, AtStartup, AtCreation, OnSessionState.
      Fixes Issue #345.
    • Updated User parameter for use with ScheduleType OnSessionState in addition to AtLogon.
    • Updated integration tests to ensure resource and configuration names are matching.
  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v9.2.1-preview0001

30 Sep 18:14
62ba944
Compare
Choose a tag to compare
v9.2.1-preview0001 Pre-release
Pre-release

[v9.2.1-preview0001]

Fixed

  • VirtualMemory fix incorrect variable name
  • SmbServerConfiguration remove errant argument

Changed

  • Converted tests to Pester 5
  • Rename Delete-ADSIObject to Delete-ADSIObject to satisfy HQRM

Removed

  • Removed Get-InvalidOperationRecord to use version provided by DscResource.Test

v9.2.0

30 Sep 16:52
c8977b0
Compare
Choose a tag to compare

[v9.2.0]

Added

  • ScheduledTask
    • Added support for configuring Event ValueQueries, allowing the triggering event to be
      parsed for values which are sent to the scheduled task script.
      Fixes Issue #392.

Fixed

  • ScheduledTask
    • Resolved an issue where DaysOfWeek array ordering can cause configuration drift.
      Fixes Issue #354.
  • Update build process to pin GitVersion to 5.* to resolve errors
    (gaelcolas/Sampler#477).

Changed

  • CI Pipeline
    • Updated pipeline files to match current DSC Community patterns - fixes Issue #427.
    • Updated HQRM step to use windows-latest image.

v9.2.0-preview0001

31 Aug 07:13
c8977b0
Compare
Choose a tag to compare
v9.2.0-preview0001 Pre-release
Pre-release

[v9.2.0-preview0001]

Added

  • ScheduledTask
    • Added support for configuring Event ValueQueries, allowing the triggering event to be
      parsed for values which are sent to the scheduled task script.
      Fixes Issue #392.

Fixed

  • ScheduledTask
    • Resolved an issue where DaysOfWeek array ordering can cause configuration drift.
      Fixes Issue #354.
  • Update build process to pin GitVersion to 5.* to resolve errors
    (gaelcolas/Sampler#477).

Changed

  • CI Pipeline
    • Updated pipeline files to match current DSC Community patterns - fixes Issue #427.
    • Updated HQRM step to use windows-latest image.