DSC for "Golden Images"

This topic contains 3 replies, has 3 voices, and was last updated by  Nitin Gupta 1 week, 6 days ago.

  • Author
    Posts
  • #100410

    jaykeblakk
    Participant

    Good morning!

    Recently, there was a new Windows 10 update to 1803 (I'm sure you're all aware of it by now) and we'd like to deploy this to our organization.

    Currently, we use a program called SmartDeploy to capture and deploy images to new computers that we push out to the rest of the company.

    Unfortunately, on any feature update, we have to download the new ISO for that feature update version and build a completely new VM to capture for this.

    There are quite a bit of things that have to be done for this, and I feel like DSC would help me make things simpler. Obviously to install the programs I would use scripts, but to create the new VM, install Windows, and set the settings that I want within that installation, DSC seems like it would be the best choice, considering I could set DSC on the server and on the machine to make certain things always apply so that I know they are always there.

    Would this work, or would anyone recommend doing something else instead?

    Thanks!

  • #100413

    Will Anderson
    Keymaster

    Hi there Jaykeblakk,

    You can in fact leverage DSC to build your machine. You could even use it to install the requisite software. I recently used DSC to build managed images in Azure. You could do it pretty easily on-prem as well.

    • #100434

      jaykeblakk
      Participant

      Thanks for the reply.

      How do you use DSC to install software? I know how to use it to install Windows features and to make certain things automatically correct themselves, but I wasn't aware that I could install specific software with it.

      Is there some resource you could point me to that I could look at to learn how to do this?

  • #100441

    Nitin Gupta
    Participant

    There are few resources that can help with installing softwares @ https://github.com/PowerShell/PSDscResources/tree/dev/DscResources

    Adam has also written a blog about it installing-software-with-powershell-dsc

You must be logged in to reply to this topic.