I was trying to type something in the search bar and all of a sudden a box came up asking if I want to allow the windows power shell. Was that for real or some kind of virus trying to get in? smelly discharge
unless you or some program you were running was doing scripting or using net framework then quite possibly yes you have a virus or malware on your computer.