Skip to content

DSC resources for 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.

License

Notifications You must be signed in to change notification settings

jordanbreen28/ComputerManagementDsc

 
 

Repository files navigation

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.

About

DSC resources for 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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 99.0%
  • C# 1.0%