Skip to content

Releases: dsccommunity/ComputerManagementDsc

v10.0.1-preview0003

07 Oct 15:50
17e10f3

Choose a tag to compare

v10.0.1-preview0003 Pre-release
Pre-release

[v10.0.1-preview0003]

Changed

  • azure-pipelines.yml
    • Remove windows-2019 images fixes #451.
  • Module manifest: Set CmdletsToExport to '*' to satisfy HQRM tests.
  • ScheduledTask
    • Removed Undefined from ScheduledTask enum
      Fixes Issue #460.

Fixed

  • Computer
    • Fix Get-ComputerDomain function to retrieve the computer NETBIOS domain name instead of the user.
  • UserAccountControl
    • Tests remove parameter type on Assert-BoundParameter mocks.

v10.0.1-preview0002

04 Sep 10:59
743c918

Choose a tag to compare

v10.0.1-preview0002 Pre-release
Pre-release

[v10.0.1-preview0002]

Changed

  • azure-pipelines.yml
    • Remove windows-2019 images fixes #451.
  • Module manifest: Set CmdletsToExport to '*' to satisfy HQRM tests.

Fixed

  • Computer
    • Fix Get-ComputerDomain function to retrieve the computer NETBIOS domain name instead of the user.
  • UserAccountControl
    • Tests remove parameter type on Assert-BoundParameter mocks.

v10.0.1-preview0001

13 May 11:15
582303a

Choose a tag to compare

v10.0.1-preview0001 Pre-release
Pre-release

[v10.0.1-preview0001]

Fixed

  • Computer
    • Fix Get-ComputerDomain function to retrieve the computer NETBIOS domain name instead of the user.
  • UserAccountControl
    • Tests remove parameter type on Assert-BoundParameter mocks.

v10.0.0

25 Jan 15:16
6a7ef14

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

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

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

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

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

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

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