{"id":14063855,"url":"https://github.com/dbroeglin/dsc-dev","last_synced_at":"2025-09-20T03:25:54.025Z","repository":{"id":137804839,"uuid":"90036197","full_name":"dbroeglin/dsc-dev","owner":"dbroeglin","description":"DSC Configuration for setting up a generic Windows PowerShell / C# dev virtual machine","archived":false,"fork":false,"pushed_at":"2018-05-22T09:30:49.000Z","size":358,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-31T22:04:23.786Z","etag":null,"topics":["configuration","devops","dsc","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbroeglin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-05-02T13:24:13.000Z","updated_at":"2023-06-27T20:21:31.000Z","dependencies_parsed_at":"2024-02-07T17:05:20.251Z","dependency_job_id":"fae1c305-9faf-436b-a074-938e352abd7c","html_url":"https://github.com/dbroeglin/dsc-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbroeglin/dsc-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbroeglin%2Fdsc-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbroeglin%2Fdsc-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbroeglin%2Fdsc-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbroeglin%2Fdsc-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbroeglin","download_url":"https://codeload.github.com/dbroeglin/dsc-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbroeglin%2Fdsc-dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276039224,"owners_count":25574518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","devops","dsc","powershell","windows"],"created_at":"2024-08-13T07:03:32.402Z","updated_at":"2025-09-20T03:25:53.971Z","avatar_url":"https://github.com/dbroeglin.png","language":"PowerShell","readme":"# DSC Developer VM setup\n\nDSC Configuration for setting up a generic Windows PowerShell / C# dev virtual machine\n\n# Virtual Machine Setup\n\n1. Setup the VM \n        \n        VERSION=1802\n        DOWNLOAD_DIR=$HOME/Downloads\n        \n        ovftool --hideEula --extraConfig:vhv.enable=true --allowAllExtraConfig $DOWNLOAD_DIR/WinDev${VERSION}Eval.VMware/Windev${VERSION}Eval.ovf ~/Documents/Virtual\\ Machines.localized/\n        \n        # we should have virtualhw.version = \"11\" :\n        # v1704 required: \n        # sed -i -e 's/guestos = \"other-64\"/guestos = \"windows9-64\"/' ~/Documents/Virtual\\ Machines.localized/Windev${VERSION}Eval.vmwarevm/WinDev${VERSION}Eval.vmx\n\n        vmrun start ~/Documents/Virtual\\ Machines.localized/Windev${VERSION}Eval.vmwarevm\n1. Install VMWare Guest Tools (if required you can upgrade the VMWare tools with the following commands):\n\n        vmrun installTools ~/Documents/Virtual\\ Machines.localized/Windev${VERSION}Eval.vmwarevm/Windev${VERSION}Eval.vmx \n\n    then run `D:\\setup64.exe` to install the tools and restart when asked to.\n1. Share `~/Sources/dsc-dev/`\n\n        vmrun enableSharedFolders ~/Documents/Virtual\\ Machines.localized/WinDev${VERSION}Eval.vmwarevm/Windev${VERSION}Eval.vmx\n        vmrun addSharedFolder ~/Documents/Virtual\\ Machines.localized/WinDev${VERSION}Eval.vmwarevm/Windev${VERSION}Eval.vmx dsc-dev ~/Sources/dsc-dev\n1. Add Language/Keyboard settings\n\n        Set-WinUserLanguageList -LanguageList fr-CH -Force\n\n1. Take a snapshot:\n\n        vmrun snapshot  ~/Documents/Virtual\\ Machines.localized/Windev1802Eval.vmwarevm/Windev1802Eval.vmx \"Initial State\"\n\n1. In PowerShell *as administrator*:\n\n        net use z: \"\\\\vmware-host\\Shared Folders\"\n        cd z:\\dsc-dev\n        Set-ExecutionPolicy -ExecutionPolicy Bypass -Force  \n        .\\Run.ps1 -WithCopy -Verbose\n\n# References\n\n## Troubleshooting DSC \n\n* https://docs.microsoft.com/fr-fr/powershell/dsc/troubleshooting?tduid=(a72d1576be339a12893f2268dc8dee3f)(256380)(2459594)(TnL5HPStwNw-G3YawjTSXxm43ytsqcG1SQ)()#my-resources-won-t-update-how-to-reset-the-cache\u0026ranMID=24542\u0026ranEAID=TnL5HPStwNw\u0026ranSiteID=TnL5HPStwNw-G3YawjTSXxm43ytsqcG1SQ\n* https://ingogegenwarth.wordpress.com/2015/11/11/powershell-desired-state-configurationdschow-to-enforce-a-consistency-check/\n\n# TODOs\n\n* Install AzureRM module\n* Install AzureAD module\n* Install nuget CLI\n\n# Misc\n\n    $profile = Get-NetConnectionProfile -InterfaceAlias Ethernet0; $profile.NetworkCategory = 'Priva\nte'; Set-NetConnectionProfile -InputObject $profile\n    \u0026 \"winrm\" set winrm/config '@{MaxEnvelopeSizekb=\"8192\"}'","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbroeglin%2Fdsc-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbroeglin%2Fdsc-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbroeglin%2Fdsc-dev/lists"}