WriteAllText()
WriteAllText( $path, $contents, $encoding = "Utf8")
Parameters
| $path | ||
| $contents | ||
| $encoding |
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of System.IO.FileStream objects.To browse the .NET Framework source code for this type, see the Reference Source.