Skip to content

DSC resources for setting the content of files. Configuration text files are the most common use case for this module.

License

Notifications You must be signed in to change notification settings

dsccommunity/FileContentDsc

Repository files navigation

FileContentDsc

Build Status Code Coverage Azure DevOps tests PowerShell Gallery (with prereleases) PowerShell Gallery codecov

Code of Conduct

This project has adopted this code of conduct.

Releases

For each merge to the branch main a preview release will be deployed to PowerShell Gallery. Periodically a release version tag will be pushed which will deploy a full release to PowerShell Gallery.

Contributing

Please check out common DSC Community contributing guidelines.

Change log

A full list of changes in each version can be found in the change log.

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.

About

DSC resources for setting the content of files. Configuration text files are the most common use case for this module.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published