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