Add-Content

Description

Adds content to a specified item, such as a file.

Command
Add-Content
Examples
Append a line of text to a file
Add-Content -Path .\Log.txt -Value 'New log entry'
Parameters
Parameter Type Required Description
[-Path <String[]>] string No Specifies the path to an item.
[-Value <Object[]>] string No The content to be added to the file.
Command Info
Category: File System
Type: Powershell
Views: 12
Status: Active
Tags
powershell append file write ac