ComputerManagementDsc

7.0.0.0

The ComputerManagementDsc module is originally part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit. This version has been modified for use in Azure. This module contains the xComputer and xDisk resources. These DSC Resources allow you to perform computer management tasks, like joining a domain or initializing disks.

All of the resources in
The ComputerManagementDsc module is originally part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit. This version has been modified for use in Azure. This module contains the xComputer and xDisk resources. These DSC Resources allow you to perform computer management tasks, like joining a domain or initializing disks.

All of the resources in the DSC Resource Kit are provided AS IS, and are not supported through any Microsoft standard support program or service.

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 7.0.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

Microsoft Corporation

Copyright

(c) Microsoft Corporation. All rights reserved.

Owners

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

DSCResources

Computer OfflineDomainJoin PendingReboot PowerPlan PowerShellExecutionPolicy RemoteDesktopAdmin ScheduledTask SmbShare TimeZone VirtualMemory WindowsEventLog

Dependencies

This module has no dependencies.

Release Notes

- 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](https://github.com/PowerShell/ComputerManagementDsc/issues/230)
 - Changed `Get-ScheduledTask` calls to `ScheduledTasks\Get-ScheduledTask` to
   avoid name clash with `Carbon` module. Fixes [Issue 248](https://github.com/PowerShell/ComputerManagementDsc/issues/248)
 - Cast `MultipleInstances` value returned by `Get-TargetResource` to `string` -
   fixes [Issue 255](https://github.com/PowerShell/ComputerManagementDsc/issues/255)
- PendingReboot:
 - Migrated xPendingReboot from [xPendingReboot](https://github.com/PowerShell/xPendingReboot)
   and renamed to PendingReboot.
 - Converted to meet HQRM guidelines - Fixes [Issue 12](https://github.com/PowerShell/xPendingReboot/issues/12).
 - Changed `SkipCcmClientSDK` parameter to default to `$true` - Fixes [Issue 13](https://github.com/PowerShell/xPendingReboot/issues/13).
 - Fixed `Test-TargetResource` so that if ConfigMgr requires a reboot then
   the pending reboot will be set - Fixes [Issue 26](https://github.com/PowerShell/xPendingReboot/issues/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](https://github.com/PowerShell/ComputerManagementDsc/issues/224).
- Updated common function `Test-DscParameterState` to support ordered comparison
 of arrays by copying function and tests from `NetworkingDsc` - fixes [Issue 250](https://github.com/PowerShell/ComputerManagementDsc/issues/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](https://github.com/PowerShell/ComputerManagementDsc/issues/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.

Version History

Version Downloads Last updated
8.2.1-previe... 20 5/14/2020
8.2.0 5,912 5/5/2020
8.1.0 16,606 3/26/2020
8.1.0-previe... 12 3/25/2020
8.1.0-previe... 3 3/24/2020
8.0.0 18,134 2/14/2020
8.0.0-previe... 3 2/14/2020
8.0.0-previe... 15 2/8/2020
7.1.0.0 67,070 10/30/2019
7.0.0.0 (current version) 24,078 9/19/2019
6.5.0.0 20,989 8/8/2019
6.4.0.0 40,249 5/15/2019
6.3.0.0 25,473 4/3/2019
6.2.0.0 52,830 2/20/2019
6.1.0.0 12,245 1/10/2019
6.0.0.0 10,205 10/25/2018
5.2.0.0 13,420 7/25/2018
5.1.0.0 17,604,605 6/13/2018
5.0.0.0 1,882 5/3/2018
Show less