Installeer Microsoft DSC v3

Er zijn meerdere manieren om DSC v3 te installeren.

  • Op Windows kun je installeren met WinGet of het .zip bestand handmatig installeren
  • Op Linux kun je het installeren met het DEB- of RPM-pakket of het .tar.gz bestand handmatig installeren
  • Op macOS moet je handmatig de .tar.gz

Selecteer het tabblad voor het gewenste platform om de gedetailleerde installatie-instructies te zien.

Installeer DSC met WinGet

De volgende commando's kunnen worden gebruikt om DSC te installeren met de gepubliceerde winget pakketten.

Zoek naar de nieuwste versie van DSC:

winget search DesiredStateConfiguration --source msstore
Name                              Id           Version Source
---------------------------------------------------------------
DesiredStateConfiguration         9NVTPZWRC6KQ Unknown msstore
DesiredStateConfiguration-Preview 9PCX3HX4HZ0Z Unknown msstore

Installeer DSC met behulp van de id parameter:

# Install latest stable
winget install --id 9NVTPZWRC6KQ --source msstore
# Install latest preview
winget install --id 9PCX3HX4HZ0Z --source msstore

Installeer DSC vanuit het .zip bestand

  1. Download de nieuwste release uit de DSC-repository voor je processortype:

  2. Pak het pakket uit in een map:

    Expand-Archive -Path .\DSC-3.3.0-rc.2-x86_64-pc-windows-msvc.zip -DestinationPath C:\DSC
    
  3. Voeg de DSC-map toe aan je systeemomgevingsvariabele PATH .