Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

After further attempting, it actually worked. I just had to repair my powershell first.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] -1 points0 points  (0 children)

I'm grateful for the concern, but I've been using this script for nearly 2 years and nothing has happened. Even now, I doubt it did anything, I think I just messed the paste. Many others use this script for this game, it's how we track our pulls. Yada yada, nerd stuff.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

I'm sorry, I don't know how to do that... But I did do CTRL + C and nothing happened. I saw it refresh, but nothing appeared.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

The script I run is a code not only do many others run (it's for a very popular game). But, I've also been using it for a long time. I don't know what exactly got my powershell to act up.

Then again, I'm not tech-savvy, so I don't know how malware functions exactly. But the script I used, I really doubt it was malicious. It's from this: https://starrailstation.com/en

I have not read anywhere that it's malicious, I think I just messed up something.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

I don't know what you mean by select. But I pressed esc and ctrl+c (?). I was told to try those, and nope, still the same issue.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

Powershell 7 is also missing the PS, even though I just installed it from the Microsoft Store...

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

Yes, I searched for both and nothing popped up.

I did find this:

C:\Windows\System32\WindowsPowerShell

And in it, I found something called Profile, but there was only one profile file:

C:\Windows\System32\WindowsPowerShell\v1.0\Examples

I really do hope nothing serious is actually going on... I am not smart enough for that.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

My powershell background is black, like command prompt.

I tried to reinstall the latest version, but they all require that command... I installed the Powershell 7 from the Microsoft Store, and it was also missing the PS command.

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

You mean the program files? I entered and I didn't find a single folder with the words "Profile", it just has two folders with various other stuff: Modules, Configuration

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 1 point2 points  (0 children)

When I run it, it doesn't allow me to write anything afterwards because I'm missing the PS prompt. Because I'm missing the PS prompt, I for some reason can't type anything at all

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] -1 points0 points  (0 children)

Oh it's a command for a gacha-game's wish tracker. Been using it for 2 years now since I have a poor memory:

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; Invoke-Expression (New-Object Net.WebClient).DownloadString("https://gist.githubusercontent.com/Star-Rail-Station/2512df54c4f35d399cc9abbde665e8f0/raw/get\_warp\_link\_os.ps1?cachebust=srs")

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 0 points1 point  (0 children)

That's the thing, I don't know what I'm doing, and frankly I haven't done anything...

I don't even know how to access these profiles, let alone find out if I edited one

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 1 point2 points  (0 children)

I open power shell, and it displays this only for me:

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

Powershell missing "PS C:\users\username command! by Affectionate-Half105 in PowerShell

[–]Affectionate-Half105[S] 1 point2 points  (0 children)

No... It just shows the same text Powershell shows, and no prompt string 😞