Skip to content

Latest commit

 

History

History
88 lines (68 loc) · 4.86 KB

README.md

File metadata and controls

88 lines (68 loc) · 4.86 KB

ComputerManagementDsc

Build Status Code Coverage Azure DevOps tests PowerShell Gallery (with prereleases) PowerShell Gallery codecov

Code of Conduct

This project has adopted this code of conduct.

Releases

For each merge to the branch main a preview release will be deployed to PowerShell Gallery. Periodically a release version tag will be pushed which will deploy a full release to PowerShell Gallery.

Contributing

Please check out common DSC Community contributing guidelines.

Change log

A full list of changes in each version can be found in the change log.

Resources

The ComputerManagementDsc module contains the following resources:

  • Computer: This resource allows you to configure a computer by changing its name and description and modifying its Active Directory domain or workgroup membership.

  • IEEnhancedSecurityConfiguration: This resource allows you to configure the IE Enhanced Security Configuration for administrator or user roles.

  • OfflineDomainJoin: This resource allows you to join computers to an Active Directory domain using an Offline Domain Join request file.

  • PendingReboot: This resource examines specific registry locations where a Windows Server might indicate that a reboot is pending and allows DSC to predictably handle the condition.

  • PowerPlan: This resource allows specifying a power plan to activate.

  • PowerShellExecutionPolicy: Specifies the desired PowerShell execution policy.

  • PSResourceRepository: This resource manages PowerShellGet repositories.

  • RemoteDesktopAdmin: This resource will manage the remote desktop administration settings on a computer.

  • ScheduledTask: This resource is used to define basic run once or recurring scheduled tasks on the local computer. It can also be used to delete or disable built-in scheduled tasks.

    The ScheduledTask resource requires the ScheduledTasks PowerShell module which is only available on Windows Server 2012/Windows 8 and above. DSC configurations containing this resource may be compiled on Windows Server 2008 R2/Windows 7 but can not be applied.

  • SmbServerConfiguration: This resource is used to configure the SMB Server settings on the local machine.

  • SmbShare: This resource is used to manage SMB shares on a machine.

  • SystemLocale: This resource is used to set the system locale on a Windows machine

  • TimeZone: This resource is used for setting the time zone on a machine.

  • UserAccountControl: This resource allows you to configure the notification level or granularly configure the User Account Control for the computer.

  • VirtualMemory: This resource allows configuration of properties of the paging file on the local computer.

  • WindowsEventLog: This resource allows configuration of a specified Windows Event Log.

  • WindowsCapability: This resource provides a mechanism to enable or disable Windows Capabilities on a target node.

This project has adopted this code of conduct.

Documentation and Examples

For a full list of resources in ComputerManagementDsc and examples on their use, check out the ComputerManagementDsc wiki.

Requirements

Windows Management Framework 5.0

Required because this module now implements class-based resources. Class-based resources can only work on computers with Windows Management Framework 5.0 or above.

PSResourceRepository

The resource PSResourceRepository requires that the PowerShell modules PowerShellGet and PackageManagement are already present on the target computer.