• Stars
    star
    209
  • Rank 188,325 (Top 4 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created over 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DSC resources for configuring common operating systems features, files and settings.

xPSDesiredStateConfiguration

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

The xPSDesiredStateConfiguration module contains the same resources as the module PSDscResources but also includes bugfixes and new features, including additional resources. Some resources in this module use the prefix 'x' to not conflict with the older built-in resources in the Windows PowerShell PSDesiredStateConfiguration module and the PSDscResources module. The prefix 'x' has no other meaning and does not indicate that these are experimental resources.

This module is no longer comparable with the module PSDscResources as they are completely separate modules and they have a different lifecycle. The xPSDesiredStateConfiguration module surpasses the PSDscResources module in both features and bugfixes.

The module xPSDesiredStateConfiguration is supported by the DSC community who fixes bugs and adds features.

The module PSDscResources is supported by Microsoft and is meant to be 1:1 replacement for the built-in resources (in Windows PowerShell), with the exception for the File resource. For that reason new features are no longer being added to the PSDscResource module, and bugfixes must be approved (most likely through a Microsoft Support case) to be merged. If you require new features or missing bugfixes, please migrate to xPSDesiredStateConfiguration and request/add the features or bugfixes against this module.

This module is automatically tested using PowerShell 5.1 on servers running Windows 2016 and Windows 2019, and is expected to work on other operating systems running PowerShell 5.1. While this module may work with PowerShell versions going back to PowerShell 4, there is no automatic testing performed for these versions, and thus no guarantee that the module will work as expected.

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

  • xArchive provides a mechanism to expand an archive (.zip) file to a specific path or remove an expanded archive (.zip) file from a specific path on a target node.
  • xDscWebService configures an OData endpoint for DSC service to make a node a DSC pull server.
  • xEnvironment provides a mechanism to configure and manage environment variables for a machine or process.
  • xGroup provides a mechanism to manage local groups on a target node.
  • xMsiPackage provides a mechanism to install and uninstall .msi packages.
  • xPackage manages the installation of .msi and .exe packages.
  • xRegistry provides a mechanism to manage registry keys and values on a target node.
  • xRemoteFile ensures the presence of remote files on a local machine.
  • xScript provides a mechanism to run PowerShell script blocks on a target node.
  • xService provides a mechanism to configure and manage Windows services.
  • xUser provides a mechanism to manage local users on the target node.
  • xWindowsFeature provides a mechanism to install or uninstall Windows roles or features on a target node.
  • xWindowsOptionalFeature provides a mechanism to enable or disable optional features on a target node.
  • xWindowsPackageCab provides a mechanism to install or uninstall a package from a Windows cabinet (cab) file on a target node.
  • xWindowsProcess provides a mechanism to start and stop a Windows process.

Composite Resources

  • xFileUpload is a composite resource which ensures that local files exist on an SMB share.
  • xGroupSet provides a mechanism to configure and manage multiple xGroup resources with common settings but different names.
  • xProcessSet allows starting and stopping of a group of windows processes with no arguments.
  • xServiceSet provides a mechanism to configure and manage multiple xService resources with common settings but different names.
  • xWindowsFeatureSet provides a mechanism to configure and manage multiple xWindowsFeature resources on a target node.
  • xWindowsOptionalFeatureSet provides a mechanism to configure and manage multiple xWindowsOptionalFeature resources on a target node.

Nano Server Support

The following resources and composite resources work on Nano Server:

  • xGroup
  • xService
  • xScript
  • xUser
  • xWindowsOptionalFeature
  • xWindowsOptionalFeatureSet
  • xWindowsPackageCab

Register a Node with DSC Pull Server

This module contains an example meta configuration that can be used to configure the Local Configuration Manager to register with a DSC Pull Server.

LCM Register Node

Functions

This resource also contains support functions that can be used to manage a deployed DSC pull server.

Publish-ModuleToPullServer

Publishes a 'ModuleInfo' object(s) to the pull server module repository or user provided path. It accepts its input from a pipeline so it can be used in conjunction with Get-Module as in 'Get-Module -Name ModuleName' | Publish-Module

Publish-MofToPullServer

Publishes a 'FileInfo' object(s) to the pull server configuration repository. It accepts FileInfo input from a pipeline so it can be used in conjunction with Get-ChildItem .*.mof | Publish-MOFToPullServer

More Repositories

1

SqlServerDsc

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
PowerShell
358
star
2

ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
PowerShell
339
star
3

ComputerManagementDsc

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.
PowerShell
303
star
4

SharePointDsc

The SharePointDsc PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm
C#
247
star
5

NetworkingDsc

DSC resources for configuring settings related to networking.
PowerShell
226
star
6

DscWorkshop

Blueprint for a full featured DSC project for Push / Pull with or without CI/CD
PowerShell
202
star
7

SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
PowerShell
177
star
8

WebAdministrationDsc

This module contains DSC resources for deploying and configuring web servers and related components.
PowerShell
162
star
9

CertificateDsc

DSC resources to simplify administration of certificates on a Windows Server.
PowerShell
122
star
10

HyperVDsc

This module contains DSC resources for deployment and configuration of Microsoft Hyper-V.
PowerShell
112
star
11

TheDSCBook

leanpub manuscript for The DSC Book, forever edition
103
star
12

xWindowsUpdate

This module contains DSC resources for configuration of Microsoft Windows Update and installing Windows updates.
PowerShell
88
star
13

ExchangeDsc

This module contains DSC resources for deployment and configuration of Microsoft Exchange Server.
PowerShell
80
star
14

StorageDsc

DSC resource module is used to manage storage on Windows Servers.
PowerShell
71
star
15

DnsServerDsc

This module contains DSC resources for the management and configuration of Windows Server DNS Server.
PowerShell
65
star
16

FailoverClusterDsc

This module contains DSC resources for deployment and configuration of Windows Server Failover Cluster.
PowerShell
60
star
17

xRobocopy

DSC Module to automate Robocopy transfers
PowerShell
54
star
18

ActiveDirectoryCSDsc

DSC resources for installing or uninstalling Active Directory Certificate Services components in Windows Server.
PowerShell
51
star
19

dsccommunity.org

DSC community organisation's website
HTML
43
star
20

CommonTasks

DSC Configuration (Composite Resource) for demo DSC and Datum
PowerShell
42
star
21

xRemoteDesktopSessionHost

This module contains DSC resources for the management and configuration of Microsoft Remote Desktop Session Host (RDSH).
PowerShell
36
star
22

cNtfsAccessControl

The cNtfsAccessControl DSC resource module.
PowerShell
33
star
23

xPendingReboot

PowerShell
31
star
24

UpdateServicesDsc

This module contains community maintained DSC resources for deployment and configuration of Windows Server Update Services.
PowerShell
31
star
25

xDscDiagnostics

This module contains cmdlets for analyzing DSC event logs.
PowerShell
31
star
26

xSmbShare

THIS MODULE HAS BEEN DEPRECATED Please use ComputerManagementDsc/SmbShare instead: https://github.com/PowerShell/ComputerManagementDsc
PowerShell
28
star
27

ConfigMgrCBDsc

This module contains DSC resources for the management and configuration of Microsoft System Center Configuration Manager Current Branch (ConfigMgrCB).
PowerShell
27
star
28

xDhcpServer

This module contains DSC resources for deployment and configuration of Microsoft DHCP Server.
PowerShell
26
star
29

AuditPolicyDsc

PowerShell
25
star
30

xDSCResourceDesigner

PowerShell
24
star
31

xWindowsEventForwarding

DSC Module to manage Windows Event Forwarding
PowerShell
23
star
32

TheDSCBookCode

PowerShell
23
star
33

DFSDsc

DSC Resource for configuring Windows Distributed File System (Replication and Namespaces)
PowerShell
23
star
34

GPRegistryPolicyDsc

DSC resources used to apply and manage local group policies by modifying the respective .pol file.
PowerShell
21
star
35

xDatabase

PowerShell
20
star
36

xBitlocker

This DSC module allows you to configure Bitlocker on a single disk, configure a TPM chip, or automatically enable Bitlocker on multiple disks.
PowerShell
20
star
37

WSManDsc

DSC resources for configuring WS-Management and PowerShell Remoting.
PowerShell
19
star
38

xRemoteDesktopAdmin

PowerShell
17
star
39

xSystemSecurity

THIS MODULE HAS BEEN DEPRECATED. See the README.md for more information.
PowerShell
17
star
40

xSCOM

PowerShell
17
star
41

xCredSSP

This module contains DSC resources for configuration of the WSMan Credential Security Support Provider (CredSSP).
PowerShell
16
star
42

OfficeOnlineServerDsc

This module contains DSC resources for deployment and configuration of Office Online Server.
PowerShell
15
star
43

FileContentDsc

DSC resources for setting the content of files. Configuration text files are the most common use case for this module.
PowerShell
15
star
44

xSCSMA

PowerShell
14
star
45

xJea

This module is deprecated, please use https://github.com/dsccommunity/JeaDsc instead.
PowerShell
14
star
46

xWinEventLog

THIS MODULE HAS BEEN DEPRECATED Please use ComputerManagementDsc instead: https://github.com/PowerShell/ComputerManagementDsc
PowerShell
12
star
47

xChrome

PowerShell
12
star
48

SChannelDsc

PowerShell
12
star
49

xSqlPs

THIS MODULE HAS BEEN DEPRECATED Please use SqlServerDsc instead: https://github.com/PowerShell/SqlServerDsc
PowerShell
12
star
50

FSRMDsc

DSC resources for configuring Windows File Server Resource Manager.
PowerShell
11
star
51

xSCVMM

PowerShell
10
star
52

DscResource.DocGenerator

Module for generation of DSC resource documentation
PowerShell
9
star
53

DscResource.Common

This module contains common functions that are used in DSC resources.
PowerShell
9
star
54

xMySql

PowerShell
9
star
55

xFirefox

PowerShell
9
star
56

xPowerShellExecutionPolicy

THIS MODULE HAS BEEN DEPRECATED Please use PowershellExecutionPolicy instead: https://github.com/PowerShell/ComputerManagementDsc
PowerShell
8
star
57

xWebDeploy

PowerShell
8
star
58

xAzurePack

PowerShell
7
star
59

iSCSIDsc

DSC resources for configuring Windows iSCSI targets and initiators.
PowerShell
7
star
60

xAzure

PowerShell
7
star
61

xTimeZone

THIS MODULE HAS BEEN DEPRECATED Please use ComputerManagementDsc instead: https://github.com/PowerShell/ComputerManagementDsc
PowerShell
7
star
62

FileSystemDsc

This module contains DSC resources for managing file systems.
PowerShell
7
star
63

dsccommunity.github.io

Compiled pages for the DSC Community organisation's website
HTML
6
star
64

xDefender

DSC Module for Windows Defender preferences
PowerShell
6
star
65

PSNativeCmdDevKit

Module to help developing commands that call native commands and binaries and parses their output.
PowerShell
6
star
66

xSCSPF

PowerShell
5
star
67

xSCDPM

PowerShell
5
star
68

xPhp

PowerShell
5
star
69

DscResource.AnalyzerRules

PowerShell Script Analyzer Rules to help enforce the DSC Community Guidelines
PowerShell
5
star
70

xInternetExplorerHomePage

PowerShell
5
star
71

DscResource.Test

Module to test your Projects against the HQRM guidelines
PowerShell
5
star
72

xDismFeature

THIS MODULE HAS BEEN DEPRECATED. See the README.md for more information.
PowerShell
5
star
73

xWordPress

PowerShell
4
star
74

xWindowsRestore

PowerShell
4
star
75

PasswordPolicyDsc

Composite resource to simplify managing password policies locally on a Windows Server
PowerShell
4
star
76

xSafeHarbor

PowerShell
4
star
77

NpmDsc

A DSC Resource Module for managing npm packages.
PowerShell
3
star
78

xSCSR

PowerShell
3
star
79

xAzureStorage

PowerShell
3
star
80

DscResource.Analysis

PowerShell Module for Analysing the health and other properties of a DSC Resource repository
PowerShell
3
star
81

AzureDevOpsDsc

This module contains DSC resources for deployment and configuration of initially Azure DevOps Services and later Azure DevOps Server.
PowerShell
3
star
82

PostgreSqlDsc

DSC Resources for PostgreSqlDsc
PowerShell
2
star
83

GitHubEnterpriseDsc

This module contains DSC resources for deployment and configuration of GitHub Enterprise.
PowerShell
2
star
84

DscTools

PowerShell
2
star
85

dscbook

1
star
86

AzureConnectedMachineDsc

DSC resource for managing the state of Azure Arc for servers agent
1
star
87

DpkgPackage

PS Wrapper for the Debian Package command dpkg (Debian & derivatives)
PowerShell
1
star
88

BizTalkServerDsc

Biztalk DSC Resource Module
PowerShell
1
star
89

ProtectedData

PowerShell Module for securely encrypting and sharing secret data
PowerShell
1
star
90

DscResource.Base

This module contains common classes that can be used for class-based DSC resources development.
PowerShell
1
star