{"id":1681,"date":"2014-05-19T10:18:00","date_gmt":"2014-05-19T10:18:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2014\/05\/19\/announcing-windows-powershell-desired-state-configuration-for-linux\/"},"modified":"2024-02-22T11:15:51","modified_gmt":"2024-02-22T19:15:51","slug":"announcing-windows-powershell-desired-state-configuration-for-linux","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/announcing-windows-powershell-desired-state-configuration-for-linux\/","title":{"rendered":"Announcing Windows PowerShell Desired State Configuration for Linux"},"content":{"rendered":"<p>For those of you fortunate enough to be at <a href=\"http:\/\/northamerica.msteched.com\/\">TechEd North America<\/a> last week, you might have seen Jeffrey Snover announcing <strong>Windows PowerShell Desired\u00a0State Configuration (DSC) for Linux<\/strong>!\u00a0 (If you missed that session, you can watch a <a href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2014\/DCIM-B417#fbid=?hashlink=fbid\">replay of it online<\/a>).\u00a0 We are excited to announce the initial availability of this feature with the release of a CTP of <a href=\"https:\/\/github.com\/MSFTOSSMgmt\/WPSDSCLinux\">DSC for Linux<\/a> at GitHub.com. With DSC for Linux, you can now use the same platform to concurrently manage the\u00a0configuration of your Windows <em>and<\/em> Linux computers.\u00a0 We are actively developing DSC for Linux and will continue to improve and extend it going forward.<\/p>\n<p>Bringing Desired State Configuration to Linux is another step in our commitment to standards-based management for the heterogeneous data center, and it empowers admins and developers to effectively and efficiently manage configuration state &#8211; irrespective of the managed computer\u2019s operating system. The DSC for Linux implementation uses the open-source <a href=\"https:\/\/collaboration.opengroup.org\/omi\/\">Open Management Infrastructure<\/a>\u00a0(OMI) as a CIM server, and the standard WS-Management protocol for remote communication.\u00a0 As such, it is an open and extensible configuration management platform for managing the entire range of fabric and tenant elements of a datacenter. Unlike other configuration management efforts, DSC is focused on providing an open platform for tool vendors to build on top of. This approach allows tool vendors to maximize their efforts on differentiating value-add features and ensures that customers can choose the tool they want and be confident that it will manage all of their elements.\u00a0 This collaborative, layering approach was first demonstrated by Chef in a technology demo during TechEd 2012.\u00a0 The upcoming version of Chef with DSC support\u00a0was demonstrated during the <a href=\"https:\/\/channel9.msdn.com\/events\/TechEd\/NorthAmerica\/2014\/DCIM-B324#fbid=\">PowerShell Desired State Configuration and DevOps in Microsoft Azure<\/a> talk at TechEd 2014.<\/p>\n<p>In this initial CTP release, we have implemented the following Resource providers, which you will find to be analogous to <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dn249921.aspx\">Windows \u201cBuilt-In\u201d DSC Resources<\/a>:<\/p>\n<ul>\n<li>nxFile \u2013 manage files and directory state<\/li>\n<li>nxScript \u2013 runs script blocks on target nodes<\/li>\n<li>nxUser \u2013 manages Linux users<\/li>\n<li>nxGroup \u2013 manages Linux groups<\/li>\n<li>nxService \u2013 manages Linux services (System-V, Upstart, SystemD)<\/li>\n<\/ul>\n<p><em>Note, only \u201cpush\u201d mode is currently available for Linux in this release.\u00a0 For more information on Push vs Pull modes, see <\/em><a href=\"https:\/\/devblogs.microsoft.com\/powershell\/push-and-pull-configuration-modes\/\"><em>this explanation<\/em><\/a><em>.<\/em><\/p>\n<p>The CTP release for PowerShell Desired State Configuration for Linux is open sourced.\u00a0 For a walkthrough of getting started with DSC for Linux, head over to the <a href=\"http:\/\/blogs.technet.com\/b\/privatecloud\/archive\/2014\/05\/19\/powershell-dsc-for-linux-step-by-step.aspx\">Building Clouds blog<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2014\/05\/0181.LinuxDSC1.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20312\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2014\/05\/0181.LinuxDSC1.jpg\" alt=\"Image 0181 LinuxDSC1\" width=\"846\" height=\"242\" srcset=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2014\/05\/0181.LinuxDSC1.jpg 846w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2014\/05\/0181.LinuxDSC1-300x86.jpg 300w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2014\/05\/0181.LinuxDSC1-768x220.jpg 768w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those of you fortunate enough to be at TechEd North America last week, you might have seen Jeffrey Snover announcing Windows PowerShell Desired\u00a0State Configuration (DSC) for Linux!\u00a0 (If you missed that session, you can watch a replay of it online).\u00a0 We are excited to announce the initial availability of this feature with the release [&hellip;]<\/p>\n","protected":false},"author":605,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[142,150,212,226,228,251,345,348],"class_list":["post-1681","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-desired-state-configuration","tag-dsc","tag-linux","tag-omi","tag-open-management-infrastructure","tag-powershell-4-0","tag-windows-powershell-4-0","tag-windows-powershell-desired-state-configuration"],"acf":[],"blog_post_summary":"<p>For those of you fortunate enough to be at TechEd North America last week, you might have seen Jeffrey Snover announcing Windows PowerShell Desired\u00a0State Configuration (DSC) for Linux!\u00a0 (If you missed that session, you can watch a replay of it online).\u00a0 We are excited to announce the initial availability of this feature with the release [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/605"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=1681"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}