PowerShell Language Reference (Set-Content)
Windows Command Lines
Other Command Line Utilities
Set-Content [-path] <string> [-value] <Object> [-include <string>] [-exclude <string>] [-filter <string>] [-passThru] [-force] [-credential <PSCredential>] [-whatIf] [-confirm] [<CommonParameters>]
Writes or replaces the content in an item with new content.
The Set-Content cmdlet is a string-processing cmdlet that writes or replaces the content in the specified item, such as a file. Whereas the Add-Content cmdlet appends content to a file, Set-Content replaces the existing content. You can type the content in the command or send content through the pipeline to Set-Content.
Microsoft (built-in help)
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: . This page has been viewed 1640 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Add-Content Get-Content Clear-Content
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."