Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

$cs.File_AppendToFile(string file, string text)

Description

Appends text to a file if the file exists.

Parameters

file

File to append text to

text

Text to append to file

Example

Code Block
languagepowershell
$cs.File_AppendToFile("$env:windir\System32\Drivers\etc\hosts","127.0.0.1    assets.cloud.barco.com")

...