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