write text to file powershell code example Example: powershell write to file Add-Content FilePath TextAdded