ComputerManagementDsc
10.0.0-preview0003
DSC resources for configuration of a Windows computer. These DSC resources allow you to perform computer management tasks, such as renaming the computer, joining a domain and scheduling tasks as well as configuring items such as virtual memory, event logs, time zones and power settings.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
Copyright the DSC Community contributors. All rights reserved.
Package Details
Author(s)
- DSC Community
Tags
DesiredStateConfiguration DSC DSCResource
DSCResources
Computer OfflineDomainJoin PendingReboot PowerPlan PowerShellExecutionPolicy RemoteDesktopAdmin ScheduledTask SmbServerConfiguration SmbShare SystemLocale SystemProtection SystemRestorePoint TimeZone VirtualMemory WindowsEventLog WindowsCapability IEEnhancedSecurityConfiguration UserAccountControl PSResourceRepository
Dependencies
This module has no dependencies.
Release Notes
## [10.0.0-preview0003] - 2024-10-30
### Added
- SystemProtection
- New resource to configure System Protection settings (formerly xWindowsRestore) - Fixes [Issue #364](https://github.com/dsccommunity/ComputerManagementDsc/issues/364).
- SystemRestorePoint
- New resource to create and delete restore points (formerly xSystemRestorePoint) - Fixes [Issue #364](https://github.com/dsccommunity/ComputerManagementDsc/issues/364).
- ScheduledTask
- Added support for ScheduleType 'OnIdle', 'AtCreation', 'OnSessionState'.
Fixes [Issue #282](https://github.com/dsccommunity/ComputerManagementDsc/issues/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](https://github.com/dsccommunity/ComputerManagementDsc/issues/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](https://github.com/dsccommunity/ComputerManagementDsc/issues/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](https://github.com/dsccommunity/ComputerManagementDsc/issues/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`
FileList
- ComputerManagementDsc.nuspec
- ComputerManagementDsc.psm1
- DSCResources\DSC_PowerPlan\DSC_PowerPlan.psm1
- ComputerManagementDsc.psd1
- DSCResources\DSC_SystemLocale\README.md
- DSCResources\DSC_SystemLocale\DSC_SystemLocale.schema.mof
- en-US\about_ComputerManagementDsc.help.txt
- DSCResources\DSC_SystemLocale\DSC_SystemLocale.psm1
- en-US\about_PSResourceRepository.help.txt
- Modules\DscResource.Common\0.19.0\DscResource.Common.psd1
- en-US\PSResourceRepository.strings.psd1
- Modules\DscResource.Common\0.19.0\DscResource.Common.psm1
- en-US\ComputerManagementDsc.strings.psd1
- Modules\DscResource.Base\1.1.2\DscResource.Base.psd1
- Modules\ComputerManagementDsc.Common\ComputerManagementDsc.Common.psm1
- Modules\DscResource.Base\1.1.2\DscResource.Base.psm1
- Modules\ComputerManagementDsc.Common\SetTimeZone.cs
- Modules\ComputerManagementDsc.Common\en-US\ComputerManagementDsc.Common.strings.psd1
- DSCResources\DSC_PowerShellExecutionPolicy\DSC_PowerShellExecutionPolicy.schema.mof
- DSCResources\DSC_PowerShellExecutionPolicy\en-US\about_PowerShellExecutionPolicy.help.txt
- DSCResources\DSC_PowerShellExecutionPolicy\README.md
- DSCResources\DSC_PowerShellExecutionPolicy\en-US\DSC_PowerShellExecutionPolicy.strings.psd1
- DSCResources\DSC_PowerShellExecutionPolicy\DSC_PowerShellExecutionPolicy.psm1
- DSCResources\DSC_SmbShare\en-US\about_SmbShare.help.txt
- DSCResources\DSC_SmbShare\DSC_SmbShare.psm1
- DSCResources\DSC_SmbShare\en-US\DSC_SmbShare.schema.mfl
- DSCResources\DSC_SmbShare\DSC_SmbShare.schema.mof
- DSCResources\DSC_SmbShare\en-US\DSC_SmbShare.strings.psd1
- DSCResources\DSC_SmbShare\README.md
- DSCResources\DSC_WindowsEventLog\en-US\about_WindowsEventLog.help.txt
- DSCResources\DSC_WindowsEventLog\DSC_WindowsEventLog.psm1
- DSCResources\DSC_WindowsEventLog\en-US\DSC_WindowsEventLog.strings.psd1
- DSCResources\DSC_WindowsEventLog\README.md
- DSCResources\DSC_PendingReboot\en-US\about_PendingReboot.help.txt
- DSCResources\DSC_WindowsEventLog\DSC_WindowsEventLog.schema.mof
- DSCResources\DSC_PendingReboot\en-US\DSC_PendingReboot.strings.psd1
- DSCResources\DSC_PendingReboot\DSC_PendingReboot.schema.mof
- DSCResources\DSC_PendingReboot\en-US\DSC_PendingReboot.data.psd1
- DSCResources\DSC_PendingReboot\README.md
- DSCResources\DSC_Computer\en-US\DSC_Computer.strings.psd1
- DSCResources\DSC_PendingReboot\DSC_PendingReboot.psm1
- DSCResources\DSC_Computer\en-US\about_Computer.help.txt
- DSCResources\DSC_Computer\README.md
- DSCResources\DSC_VirtualMemory\en-US\about_VirtualMemory.help.txt
- DSCResources\DSC_Computer\DSC_Computer.schema.mof
- DSCResources\DSC_VirtualMemory\en-US\DSC_VirtualMemory.strings.psd1
- DSCResources\DSC_Computer\DSC_Computer.psm1
- DSCResources\DSC_SystemProtection\en-US\about_SystemProtection.help.txt
- DSCResources\DSC_VirtualMemory\DSC_VirtualMemory.schema.mof
- DSCResources\DSC_SystemProtection\en-US\DSC_SystemProtection.strings.psd1
- DSCResources\DSC_VirtualMemory\README.md
- DSCResources\DSC_RemoteDesktopAdmin\en-US\about_RemoteDesktopAdmin.help.txt
- DSCResources\DSC_VirtualMemory\DSC_VirtualMemory.psm1
- DSCResources\DSC_RemoteDesktopAdmin\en-US\DSC_RemoteDesktopAdmin.strings.psd1
- DSCResources\DSC_SystemProtection\DSC_SystemProtection.psm1
- DSCResources\DSC_WindowsCapability\en-US\about_WindowsCapability.help.txt
- DSCResources\DSC_SystemProtection\DSC_SystemProtection.schema.mof
- DSCResources\DSC_WindowsCapability\en-US\DSC_WindowsCapability.strings.psd1
- DSCResources\DSC_SystemProtection\README.md
- DSCResources\DSC_UserAccountControl\en-US\about_UserAccountControl.help.txt
- DSCResources\DSC_RemoteDesktopAdmin\DSC_RemoteDesktopAdmin.schema.mof
- DSCResources\DSC_UserAccountControl\en-US\DSC_UserAccountControl.strings.psd1
- DSCResources\DSC_RemoteDesktopAdmin\README.md
- DSCResources\DSC_IEEnhancedSecurityConfiguration\en-US\DSC_IEEnhancedSecurityConfiguration.strings.psd1
- DSCResources\DSC_RemoteDesktopAdmin\DSC_RemoteDesktopAdmin.psm1
- DSCResources\DSC_IEEnhancedSecurityConfiguration\en-US\about_IEEnhancedSecurityConfiguration.help.txt
- DSCResources\DSC_WindowsCapability\DSC_WindowsCapability.psm1
- DSCResources\DSC_OfflineDomainJoin\en-US\DSC_OfflineDomainJoin.strings.psd1
- DSCResources\DSC_WindowsCapability\DSC_WindowsCapability.schema.mof
- DSCResources\DSC_OfflineDomainJoin\en-US\about_OfflineDomainJoin.help.txt
- DSCResources\DSC_WindowsCapability\README.md
- DSCResources\DSC_SystemRestorePoint\en-US\about_SystemRestorePoint.help.txt
- DSCResources\DSC_UserAccountControl\DSC_UserAccountControl.psm1
- DSCResources\DSC_SystemRestorePoint\en-US\DSC_SystemRestorePoint.strings.psd1
- DSCResources\DSC_UserAccountControl\DSC_UserAccountControl.schema.mof
- DSCResources\DSC_ScheduledTask\en-US\about_ScheduledTask.help.txt
- DSCResources\DSC_UserAccountControl\README.md
- DSCResources\DSC_ScheduledTask\en-US\DSC_ScheduledTask.strings.psd1
- DSCResources\DSC_IEEnhancedSecurityConfiguration\DSC_IEEnhancedSecurityConfiguration.psm1
- DSCResources\DSC_SmbServerConfiguration\en-US\about_SmbServerConfiguration.help.txt
- DSCResources\DSC_IEEnhancedSecurityConfiguration\README.md
- DSCResources\DSC_SmbServerConfiguration\en-US\DSC_SmbServerConfiguration.strings.psd1
- DSCResources\DSC_IEEnhancedSecurityConfiguration\DSC_IEEnhancedSecurityConfiguration.schema.mof
- DSCResources\DSC_SmbServerConfiguration\en-US\DSC_SmbServerConfiguration.schema.mfl
- DSCResources\DSC_OfflineDomainJoin\DSC_OfflineDomainJoin.schema.mof
- DSCResources\DSC_TimeZone\en-US\about_TimeZone.help.txt
- DSCResources\DSC_OfflineDomainJoin\README.md
- DSCResources\DSC_TimeZone\en-US\DSC_TimeZone.strings.psd1
- DSCResources\DSC_OfflineDomainJoin\DSC_OfflineDomainJoin.psm1
- DSCResources\DSC_PowerPlan\en-US\DSC_PowerPlan.schema.mfl
- DSCResources\DSC_SystemRestorePoint\DSC_SystemRestorePoint.schema.mof
- DSCResources\DSC_PowerPlan\en-US\about_PowerPlan.help.txt
- DSCResources\DSC_SystemRestorePoint\DSC_SystemRestorePoint.psm1
- DSCResources\DSC_PowerPlan\en-US\DSC_PowerPlan.strings.psd1
- DSCResources\DSC_SystemRestorePoint\README.md
- DSCResources\DSC_SystemLocale\en-US\DSC_SystemLocale.strings.psd1
- DSCResources\DSC_ScheduledTask\DSC_ScheduledTask.psm1
- DSCResources\DSC_SystemLocale\en-US\about_SystemLocale.help.txt
- DSCResources\DSC_ScheduledTask\DSC_ScheduledTask.schema.mof
- Modules\DscResource.Common\0.19.0\en-US\about_DscResource.Common.help.txt
- DSCResources\DSC_ScheduledTask\README.md
- Modules\DscResource.Common\0.19.0\en-US\DscResource.Common-help.xml
- DSCResources\DSC_SmbServerConfiguration\DSC_SmbServerConfiguration.psm1
- Modules\DscResource.Common\0.19.0\en-US\DscResource.Common.strings.psd1
- DSCResources\DSC_SmbServerConfiguration\README.md
- Modules\DscResource.Base\1.1.2\en-US\ResourceBase.strings.psd1
- DSCResources\DSC_SmbServerConfiguration\DSC_SmbServerConfiguration.data.psd1
- Modules\DscResource.Base\1.1.2\en-US\about_DscResource.Base.help.txt
- DSCResources\DSC_SmbServerConfiguration\DSC_SmbServerConfiguration.schema.mof
- Modules\DscResource.Base\1.1.2\en-US\DscResource.Base.strings.psd1
- DSCResources\DSC_TimeZone\DSC_TimeZone.psm1
- Modules\DscResource.Base\1.1.2\Modules\DscResource.Common\0.17.2\DscResource.Common.psd1
- DSCResources\DSC_TimeZone\README.md
- Modules\DscResource.Base\1.1.2\Modules\DscResource.Common\0.17.2\DscResource.Common.psm1
- DSCResources\DSC_TimeZone\DSC_TimeZone.schema.mof
- Modules\DscResource.Base\1.1.2\Modules\DscResource.Common\0.17.2\en-US\about_DscResource.Common.help.txt
- DSCResources\DSC_PowerPlan\README.md
- Modules\DscResource.Base\1.1.2\Modules\DscResource.Common\0.17.2\en-US\DscResource.Common-help.xml
- DSCResources\DSC_PowerPlan\DSC_PowerPlan.schema.mof
- Modules\DscResource.Base\1.1.2\Modules\DscResource.Common\0.17.2\en-US\DscResource.Common.strings.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
10.0.0-previ... (current version) | 10 | 10/30/2024 |
10.0.0-previ... | 18 | 10/22/2024 |
10.0.0-previ... | 17 | 10/16/2024 |
9.2.1-previe... | 29 | 9/30/2024 |
9.2.0 | 47,765 | 9/30/2024 |
9.2.0-previe... | 73 | 8/31/2024 |
9.1.1-previe... | 366 | 6/6/2024 |
9.1.0 | 242,249 | 4/30/2024 |
9.1.0-previe... | 17 | 4/24/2024 |
9.1.0-previe... | 522 | 12/4/2023 |
9.1.0-previe... | 803 | 7/17/2023 |
9.1.0-previe... | 478 | 3/10/2023 |
9.0.1-previe... | 77 | 2/25/2023 |
9.0.0 | 2,170,939 | 2/22/2023 |
9.0.0-previe... | 486 | 12/11/2022 |
8.6.0-previe... | 96 | 11/23/2022 |
8.6.0-previe... | 91 | 11/7/2022 |
8.6.0-previe... | 718 | 6/2/2022 |
8.6.0-previe... | 85 | 5/27/2022 |
8.5.0 | 5,819,406 | 9/13/2021 |
8.5.0-previe... | 1,414 | 4/15/2021 |
8.4.1-previe... | 474 | 2/12/2021 |
8.4.1-previe... | 86 | 2/8/2021 |
8.4.1-previe... | 457 | 8/5/2020 |
8.4.0 | 422,770 | 8/3/2020 |
8.4.0-previe... | 144 | 7/4/2020 |
8.3.0 | 17,243 | 6/30/2020 |
8.3.0-previe... | 70 | 6/26/2020 |
8.2.1-previe... | 172 | 5/14/2020 |
8.2.0 | 37,381 | 5/5/2020 |
8.1.0 | 19,875 | 3/26/2020 |
8.1.0-previe... | 79 | 3/25/2020 |
8.1.0-previe... | 69 | 3/24/2020 |
8.0.0 | 43,216 | 2/14/2020 |
8.0.0-previe... | 70 | 2/14/2020 |
8.0.0-previe... | 81 | 2/8/2020 |
7.1.0.0 | 87,103 | 10/30/2019 |
7.0.0.0 | 25,912 | 9/19/2019 |
6.5.0.0 | 21,704 | 8/8/2019 |
6.4.0.0 | 44,149 | 5/15/2019 |
6.3.0.0 | 26,138 | 4/3/2019 |
6.2.0.0 | 56,810 | 2/20/2019 |
6.1.0.0 | 12,881 | 1/10/2019 |
6.0.0.0 | 10,893 | 10/25/2018 |
5.2.0.0 | 15,354 | 7/25/2018 |
5.1.0.0 | 34,904,142 | 6/13/2018 |
5.0.0.0 | 5,510 | 5/3/2018 |