ComputerManagementDsc

8.5.0

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

4.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ComputerManagementDsc -RequiredVersion 8.5.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ComputerManagementDsc -Version 8.5.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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 TimeZone VirtualMemory WindowsEventLog WindowsCapability IEEnhancedSecurityConfiguration UserAccountControl

Dependencies

This module has no dependencies.

Release Notes

## [8.5.0] - 2021-09-13

### Added

- WindowsEventLog
 - Added support to restrict guest access - Fixes [Issue #338](https://github.com/dsccommunity/ComputerManagementDsc/issues/338).
 - Added support to create custom event sources and optionally register
   resource files - Fixes [Issue #355](https://github.com/dsccommunity/ComputerManagementDsc/issues/355).
- WindowsCapability
 - Added the 'Source' parameter for Add-WindowsCapability as an
   optional parameter - Fixes [Issue #361](https://github.com/dsccommunity/ComputerManagementDsc/issues/361)

### Changed

- WindowsEventLog
 - Reformatted code to better align with current DSCResources coding standards.
- Renamed `master` branch to `main` - Fixes [Issue #348](https://github.com/dsccommunity/ComputerManagementDsc/issues/348).
- Added support for publishing code coverage to `CodeCov.io` and
 Azure Pipelines - Fixes [Issue #367](https://github.com/dsccommunity/ComputerManagementDsc/issues/367).
- Updated build to use `Sampler.GitHubTasks` - Fixes [Issue #365](https://github.com/dsccommunity/ComputerManagementDsc/issues/365).
- Corrected case of module publish tasks - Fixes [Issue #368](https://github.com/dsccommunity/ComputerManagementDsc/issues/368).
- Corrected code coverage badge in `README.md`.
- Updated build pipeline tasks and remove unused environment variables.
- Removed duplicate code coverage badge.

### Fixed

- WindowsEventLog
 - Fixed issue requiring IsEnabled to be declared and set to $true in order
   to set the MaximumSizeInBytes property - Fixes [Issue #349](https://github.com/dsccommunity/ComputerManagementDsc/issues/349).
 - Fixed issue where configuring log retention on a non-classic event log will
   throw.
- ScheduledTask
 - Fixed issue with disabling scheduled tasks that have "Run whether user is
   logged on or not" configured - Fixes [Issue #306](https://github.com/dsccommunity/ComputerManagementDsc/issues/306).
 - Fixed issue with `ExecuteAsCredential` not returning fully qualified username
   on newer versions of Windows 10 and Windows Server 2019 for both local
   accounts and domain accounts - Fixes [Issue #352](https://github.com/dsccommunity/ComputerManagementDsc/issues/352).
 - Fixed issue with `StartTime` failing Test-Resource if not specified in the
   resource - Fixes [Issue #148](https://github.com/dsccommunity/ComputerManagementDsc/issues/148).
- PendingReboot
 - Fixed issue with loading localized data on non en-US operating systems -
   Fixes [Issue #350](https://github.com/dsccommunity/ComputerManagementDsc/issues/350).

FileList

Version History

Version Downloads Last updated
9.1.0-previe... 13 4/24/2024
9.1.0-previe... 518 12/4/2023
9.1.0-previe... 751 7/17/2023
9.1.0-previe... 475 3/10/2023
9.0.1-previe... 74 2/25/2023
9.0.0 2,147,586 2/22/2023
9.0.0-previe... 483 12/11/2022
8.6.0-previe... 93 11/23/2022
8.6.0-previe... 88 11/7/2022
8.6.0-previe... 715 6/2/2022
8.6.0-previe... 82 5/27/2022
8.5.0 (current version) 5,759,221 9/13/2021
8.5.0-previe... 1,265 4/15/2021
8.4.1-previe... 471 2/12/2021
8.4.1-previe... 83 2/8/2021
8.4.1-previe... 454 8/5/2020
8.4.0 394,642 8/3/2020
8.4.0-previe... 141 7/4/2020
8.3.0 16,457 6/30/2020
8.3.0-previe... 67 6/26/2020
8.2.1-previe... 169 5/14/2020
8.2.0 37,112 5/5/2020
8.1.0 19,820 3/26/2020
8.1.0-previe... 76 3/25/2020
8.1.0-previe... 66 3/24/2020
8.0.0 40,812 2/14/2020
8.0.0-previe... 67 2/14/2020
8.0.0-previe... 78 2/8/2020
7.1.0.0 85,873 10/30/2019
7.0.0.0 25,807 9/19/2019
6.5.0.0 21,622 8/8/2019
6.4.0.0 43,726 5/15/2019
6.3.0.0 26,131 4/3/2019
6.2.0.0 56,802 2/20/2019
6.1.0.0 12,869 1/10/2019
6.0.0.0 10,872 10/25/2018
5.2.0.0 15,290 7/25/2018
5.1.0.0 34,904,137 6/13/2018
5.0.0.0 4,997 5/3/2018
Show less