Adds to the content(s) of the specified item(s).
Snap-In: Microsoft.PowerShell.Management
Syntax:
Add-Content
[-Path] <String[]> [-Value] <Object[]> [-PassThru] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Force] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] [-Encoding <FileSystemCmdletProviderEncoding>]
Description:
The Add-Content Cmdlet takes direct input or input from the pipeline and adds it to the specified item or file. The content is appended to the existing content of the file.