I know that this topic has been covered in a lot of sites, but I couldn't really find the answer that I wanted.
I've been working on a batch file that would basically get the name of the network I'm connected to, and send a pop up message of the same.
I was able to get the network profile with findstr
but I couldn't find a way to filter it further so that it just prints out the Network name. Here's what I have so far:
netsh wlan show interfaces | findstr Profile
This gives out the output below:
Profile : Alohomora-5G
Is there a way to make it just Alohomora-5G
?