question

DogukanYazar-8323 avatar image
0 Votes"
DogukanYazar-8323 asked LimitlessTechnology-2700 answered

Initializing Mobile Hotspot using Bluetooth

140777-untitled.png

Hi,

I'm looking for a powershell command to enable Mobile Hotspot over Bluetooth on Windows 10.

I can enabled Mobile Hotspot over WiFi but couldn't find a way to do this over Bluetooth.

Do you have any idea?

Thank you.


windows-10-network
untitled.png (242.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello DogukanYazar-8323,

You can use a Batch file to do this, I have seen this code and this might helpful for you

Check whether Mobile Hotspot is enabled

$tetheringManager.TetheringOperationalState

Start Mobile Hotspot

Await ($tetheringManager.StartTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])

Stop Mobile Hotspot

Await ($tetheringManager.StopTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])



--If the reply is helpful, please Upvote and Accept it as an answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.