DSC and scripting Hyper-V test lab

Tagged: ,

Viewing 2 reply threads
  • Author
    Posts
    • #1556491
      Miguel Gonzalez
      Participant
      Member Points: 666
      Rank: 2

      I am trying to set up a virtual lab in my laptop with Hyper-V. After googling around and read many documentation I see that Microsoft has a tool called DSC to align installs of Windows Server.

      I have found many tools built on top of DSC (AutomatedLab, Ps-Auto-Lab) which are powershell modules that work fine in English evaluation ISOs but not with Spanish ones. In the end I decided to learn how to use DSC without any extra tool and define my MOF files but I have a hard time to:

      • Find any examples of how to inject MOF files for creating virtual machines automatically.
      • Find any example of how to retrieve easily just one time the configuration from an existing server so I can have a MOF file to start with and not to start from scratch.

      Any guidance?

    • #1556493
      Leos Marek
      Moderator
      Member Points: 24,165
      Author of Year 2020Author of the Year 2021
      Rank: 4

      What do you need DSC for in a LAB? I would go a more simple way which is a configuration script that you just run once after VM deployment.

    • #1556494
      Miguel Gonzalez
      Participant
      Member Points: 666
      Rank: 2

      Because I thought that it was a way to standardize all environments (testing on my laptop, preproduction and production) so I would have everything aligned.

      I thought of going closer to the new devops trends and although I consider Ansible, Puppet or Chef, I found out that DSC might be a good choice.

      If you have other suggestions or any reason why I shouldn´t use DSC, I am all ears 🙂

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
© 4sysops 2006 - 2022

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account