U.S. equities managed to end an otherwise tough week on a high note, with a bounce in Big Tech leading the major indexes up on Friday.