DSC 是一個管理平臺,可讓您使用設定即程式代碼來管理 IT 和開發基礎結構。
DSC 有四個版本可供使用:
Microsoft DSC 3.0 是新版本的 DSC。 此版本提供真正的跨平台支援。 它是一種獨立產品,並不相依於 PowerShell,不過,您仍然可以使用現有的 PowerShell DSC 資源。
PowerShell DSC 3.0(預覽版) 是 Linux 上 Azure Machine Configuration 支援的 DSC 版本。
PowerShell DSC 2.0 是 PowerShell 7 隨附的 DSC 版本。
隨著 PowerShell 7.2 的發行,PSDesiredStateConfiguration 模組已不再包含在 PowerShell 套件中。 將 DSC 分成自己的模組,可讓我們投資及開發獨立於 PowerShell 的 DSC,並減少 PowerShell 套件的大小。 DSC 的使用者將享有升級 DSC 的優點,而不需要升級 PowerShell,加速部署新的 DSC 功能的時間。 想要繼續使用 DSC v2 的使用者可以從 PowerShell 資源庫下載 PSDesiredStateConfiguration 2.0.5。
PowerShell DSC 1.1 是原本隨附於 Windows PowerShell 5.1 的舊版 DSC。
如需詳細資訊,請參閱 預期狀態設定 概觀一文。