netsh profile name issue
Posted: 12 Mar 2021 13:15
I am working on a one liner to test out a larger project but I am running into issues with profile names. Show profiles has the profile name but when I try to use it I get an error that profile doesn't exist (or at least that is how I interpret the message).
This is run from an elevated command prompt.
The sticky says that I should include this as well when I am looking for help.
This is run from an elevated command prompt.
Code: Select all
C:\WINDOWS\system32>netsh wlan show profiles
Profiles on interface Wi-Fi:
Group policy profiles (read only)
---------------------------------
<None>
User profiles
-------------
All User Profile : John Temple's iPhone
All User Profile : Macworld-5G
All User Profile : Temple-Oasis
C:\WINDOWS\system32>netsh wlan connect name="John Temple's iPhone" ssid="John Temple's iPhone" interface="Wi-Fi"
There is no profile "John Temple's iPhone" assigned to the specified interface.
Code: Select all
INFO.BAT version 1.5
--------------------------------------------------------------------------------
Windows version : Microsoft Windows [Version 10.0.18363.1379]
Product name : Windows 10 Education, 64 bit
Performance indicators : Processor Cores: 12 Visible RAM: 33469488 kilobytes
Date/Time format : (mm/dd/yy) Fri 03/12/2021 13:57:45.70
__APPDIR__ : C:\WINDOWS\system32\
ComSpec : C:\WINDOWS\system32\cmd.exe
PathExt : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Extensions : system: Enabled user: Disabled
Delayed expansion : system: Disabled user: Disabled
Locale name : en-US Code Pages: OEM 437 ANSI 1252
DIR format : 03/04/2021 06:37 AM 5,100,273,664 pagefile.sys
Permissions : Elevated Admin=Yes, Admin group=Yes
Missing from the tool collection: debug