DSC resources for for manipulating the content of text files.

Minimum PowerShell version


This is a prerelease version of FileContentDsc.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name FileContentDsc -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name FileContentDsc -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


DSC Community


Copyright the DSC Community contributors. All rights reserved.

Package Details



DesiredStateConfiguration DSC DSCResource FileContent


ReplaceText KeyValuePairFile IniSettingsFile DSC_IniSettingsFile DSC_KeyValuePairFile DSC_ReplaceText


This module has no dependencies.

Release Notes

## [2.0.0-preview0003] - 2020-12-30

### Changed

- Transferred ownership to -
 fixes [Issue #31](
- BREAKING CHANGE: Changed resource prefix from MSFT to DSC.
- Updated to use continuous delivery pattern using Azure DevOps - fixes
 [Issue #41](
- Updated build badges in README.MD.
- Change Azure DevOps Pipeline definition to include `source/*` - Fixes [Issue #45](
- Updated pipeline to use `latest` version of `ModuleBuilder` - Fixes [Issue #45](
- Merge `` into `` - Fixes [Issue #46](
- Fixed build failures caused by changes in `ModuleBuilder` module v1.7.0
 by changing `CopyDirectories` to `CopyPaths` - Fixes [Issue #49](
- Updated to use the common module _DscResource.Common_ - Fixes [Issue #48](
- Pin `Pester` module to 4.10.1 because Pester 5.0 is missing code
 coverage - Fixes [Issue #50](
- Automatically publish documentation to GitHub Wiki - Fixes [Issue #51](
- Renamed `master` branch to `main` - Fixes [Issue #53](


Version History

Version Downloads Last updated
2.0.0-previe... (current version) 175 12/30/2020
2.0.0-previe... 37 7/5/2020
2.0.0-previe... 27 4/15/2020 2,359,356 7/20/2019 63,793 10/27/2018 19,665 10/2/2018 2,184 9/2/2017
Show more