$cs.File\_AppendToFile
Syntax
Section titled “Syntax”$cs.File_AppendToFile(string file, string text)
Description
Section titled “Description”Appends text to a file if the file exists.
Parameters
Section titled “Parameters”file
File to append text to
text
Text to append to file
Example
Section titled “Example”$cs.File_AppendToFile("$env:windir\System32\Drivers\etc\hosts","127.0.0.1 assets.cloud.barco.com")returns nothing