Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsccommunity/filecontentdsc
DSC resources for setting the content of files. Configuration text files are the most common use case for this module.
https://github.com/dsccommunity/filecontentdsc
dsc-resources file-content ini-settings-file key-value-pair-file powershell-dsc replace-text
Last synced: about 2 months ago
JSON representation
DSC resources for setting the content of files. Configuration text files are the most common use case for this module.
- Host: GitHub
- URL: https://github.com/dsccommunity/filecontentdsc
- Owner: dsccommunity
- License: mit
- Created: 2016-11-26T06:25:05.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-06-12T18:04:22.000Z (7 months ago)
- Last Synced: 2024-06-14T00:24:22.627Z (7 months ago)
- Topics: dsc-resources, file-content, ini-settings-file, key-value-pair-file, powershell-dsc, replace-text
- Language: PowerShell
- Homepage: https://dsccommunity.org
- Size: 313 KB
- Stars: 14
- Watchers: 5
- Forks: 4
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# FileContentDsc
[![Build Status](https://dev.azure.com/dsccommunity/FileContentDsc/_apis/build/status/dsccommunity.FileContentDsc?branchName=main)](https://dev.azure.com/dsccommunity/FileContentDsc/_build/latest?definitionId=31&branchName=main)
![Code Coverage](https://img.shields.io/azure-devops/coverage/dsccommunity/FileContentDsc/31/main)
[![Azure DevOps tests](https://img.shields.io/azure-devops/tests/dsccommunity/FileContentDsc/31/main)](https://dsccommunity.visualstudio.com/FileContentDsc/_test/analytics?definitionId=31&contextType=build)
[![PowerShell Gallery (with prereleases)](https://img.shields.io/powershellgallery/vpre/FileContentDsc?label=FileContentDsc%20Preview)](https://www.powershellgallery.com/packages/FileContentDsc/)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/v/FileContentDsc?label=FileContentDsc)](https://www.powershellgallery.com/packages/FileContentDsc/)
[![codecov](https://codecov.io/gh/dsccommunity/FileContentDsc/branch/main/graph/badge.svg)](https://codecov.io/gh/dsccommunity/FileContentDsc)## Code of Conduct
This project has adopted [this code of conduct](CODE_OF_CONDUCT.md).
## Releases
For each merge to the branch `main` a preview release will be
deployed to [PowerShell Gallery](https://www.powershellgallery.com/).
Periodically a release version tag will be pushed which will deploy a
full release to [PowerShell Gallery](https://www.powershellgallery.com/).## Contributing
Please check out common DSC Community [contributing guidelines](https://dsccommunity.org/guidelines/contributing).
## Change log
A full list of changes in each version can be found in the [change log](CHANGELOG.md).
## Resources
This resource module contains resources for setting the content of files.
Configuration text files are the most common use case for this module.The **FileContent** module contains the following resources:
- **IniSettingsFile**: Add, set or clear entries in Windows INI settings files.
- **KeyValuePairFile**: Add, remove or set key/value pairs in a text file containing
key/value pairs, and set file encoding.
- **ReplaceText**: Replaces strings matching a regular expression in a file,
and sets file encoding.## Documentation and Examples
For a full list of resources in FileContentDsc and examples on their use, check out
the [FileContentDsc wiki](https://github.com/dsccommunity/FileContentDsc/wiki).