Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Disable bluetooth device

$
0
0

Hi,

Is it possible to disable bluetooth module in device manager without loading additional module on Powershell?

I' ve found something like that

$bluetooth = Get-wmiobject Win32_PnPEntity | where {$_.Caption -like "*bluetooth*" }
$bluetooth.Disable()
Start-Sleep -s 5
$bluetooth.Enable()
read-host

but there is no disable method :/

Thanks,

Hunal



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>