Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create DSC file from existing computer #685

Open
crutkas opened this issue May 23, 2023 · 4 comments
Open

Create DSC file from existing computer #685

crutkas opened this issue May 23, 2023 · 4 comments
Labels
Area-Machine-Config Related to the machine configuration feature Area-Machine-Config-DSC Related to WinGet DSC configuration in machine config flow Issue-Feature New feature or request Needs-PM Needs PM input Priority-2

Comments

@crutkas
Copy link
Member

crutkas commented May 23, 2023

Suggested new feature or improvement

I have my existing computer, please help me create a DSC file so it can be used as a base / restore point.

Scenario

No response

Additional details

No response

@crutkas crutkas added the Issue-Feature New feature or request label May 23, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label May 23, 2023
@sala91
Copy link

sala91 commented May 29, 2023

This!

Use cases are more than just getting configuration of current machine to clone for others. It's also good to have some kind of UI to compare your current config against the file. So you know for example, what tools you are missing from that or what you have out of date. I would love some kind of UI that I could toggle from all the installed stuff on my computer, select git configs etc. Then go to other machine and do the same - add more stuff that was missing from other computer to config file. And then have one config file, I can deploy across my dev team, and get machines synced up.

@cinnamon-msft cinnamon-msft added Area-Machine-Config Related to the machine configuration feature Priority-2 Needs-PM Needs PM input and removed Needs-Triage New issue that the core contributors need to triage labels May 30, 2023
@railmeat
Copy link

railmeat commented Jun 1, 2023

I don't think a separate UI is needed. A way to export to a text file will work well. It could be yaml or json. Then you could use diff and merge, or whatever tools you want to compare and edit them.

That is a Unix style way to work. I think it is the best for this task.

@crutkas
Copy link
Member Author

crutkas commented Jun 1, 2023

We'd have some type of visual UX i'd imagine but there would be an config file that would be yaml so we could leverage winget configuration

@FLY1NGSQU1RR3L
Copy link
Member

Adding further support for this scenario.

I am setting up 20 machines for a show. I have to install Visual Studio, .NET, lots of SDKs, and more. Once I get one machine setup using Winget or Dev HOme, it would be great to just export everything I just did and tell the other 19 machines to do the same thing. I've already saved a ton of time using Winget and Dev Home, but I'll save a lot more if I don't have to create my own .DSC file :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Machine-Config Related to the machine configuration feature Area-Machine-Config-DSC Related to WinGet DSC configuration in machine config flow Issue-Feature New feature or request Needs-PM Needs PM input Priority-2
Projects
None yet
Development

No branches or pull requests

6 participants