{"id":16004241,"url":"https://github.com/kakkun61/powershell-config","last_synced_at":"2026-06-25T04:31:14.980Z","repository":{"id":137888861,"uuid":"395440989","full_name":"kakkun61/powershell-config","owner":"kakkun61","description":"PowerShell module to find and read configurations","archived":false,"fork":false,"pushed_at":"2021-08-23T11:05:09.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T01:45:17.951Z","etag":null,"topics":["powershell"],"latest_commit_sha":null,"homepage":"https://www.powershellgallery.com/packages/config/","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kakkun61.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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,"publiccode":null,"codemeta":null},"funding":{"github":"kakkun61"}},"created_at":"2021-08-12T20:52:14.000Z","updated_at":"2021-08-23T11:05:12.000Z","dependencies_parsed_at":"2023-04-28T02:47:16.006Z","dependency_job_id":null,"html_url":"https://github.com/kakkun61/powershell-config","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kakkun61/powershell-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakkun61%2Fpowershell-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakkun61%2Fpowershell-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakkun61%2Fpowershell-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakkun61%2Fpowershell-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakkun61","download_url":"https://codeload.github.com/kakkun61/powershell-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakkun61%2Fpowershell-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000742,"owners_count":26082932,"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-10-09T02:00:07.460Z","response_time":59,"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":["powershell"],"created_at":"2024-10-08T10:42:02.831Z","updated_at":"2025-10-09T05:33:21.924Z","avatar_url":"https://github.com/kakkun61.png","language":"PowerShell","funding_links":["https://github.com/sponsors/kakkun61"],"categories":[],"sub_categories":[],"readme":"# powershell-config\n\n[![GitHub Actions: test](https://github.com/kakkun61/powershell-config/workflows/test/badge.svg)](https://github.com/kakkun61/powershell-config/actions?query=workflow%3Atest) [![GitHub Actions: install](https://github.com/kakkun61/powershell-config/workflows/install/badge.svg)](https://github.com/kakkun61/powershell-config/actions?query=workflow%3Ainstall) [![GitHub Actions: lint](https://github.com/kakkun61/powershell-config/workflows/lint/badge.svg)](https://github.com/kakkun61/powershell-config/actions?query=workflow%3Alint) [![PowerShell Gallery](https://img.shields.io/powershellgallery/p/config.svg)](https://www.powershellgallery.com/packages/config/) [![Sponsor](https://img.shields.io/badge/Sponsor-%E2%9D%A4-red?logo=GitHub)](https://github.com/sponsors/kakkun61)\n\nThis is a configuration module for PowerShell. This finds configuration files, read them and convert them to `Hashtable`s.\n\n## Specifications\n\nThis module treats three types of configurations:\n\n- local configuration\n- user global configuration\n- system global configuration\n\n## Local configuration\n\nA local configuration is named _`$appname`.yaml_ and located at the current working directory or its parents recursively.\n\n## User global configuration\n\nA user global configuration is named _config.yaml_ and located at _`$Env:APPDATA\\$appname`_.\n\n## System global configuration\n\nA system global configuration is named _config.yaml_ and located at _`$Env:ProgramData\\$appname`_.\n\n## Overwriting\n\nWhen the configurations have the same keys, upper ones overwrite.\n\nFor example there are following configurations:\n\n```yaml\n# local configuration\nfoo: foo\n\n# user global configuration\nbar: bar\n\n# system global configuration\nbar: buzz\n```\n\nyou get:\n\n```yaml\nfoo: foo\nbar: bar\n```\n\n`bar: buzz` is overwritten.\n\n# Examples\n\n## Local configuration\n\nWhen _.\\foo.yaml_ is:\n\n```yaml\nfoo: 1\nbar: hello\nbuzz:\n - one\n - two\n```\n\ncall:\n\n```\n\u003e Get-Config foo\n\nName                           Value\n----                           -----\nbar                            hello\nfoo                            1\nbuzz                           {one, two}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakkun61%2Fpowershell-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakkun61%2Fpowershell-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakkun61%2Fpowershell-config/lists"}