当前位置:网站首页>Win: use PowerShell to check the strength of wireless signal
Win: use PowerShell to check the strength of wireless signal
2022-07-05 01:34:00 【Living in the camphor Garden】
1、 Confirm the strength of the wireless signal being connected :
netsh wlan show interfaces
stay PowerShell in , Direct display of signal strength :
(netsh wlan show interfaces) -Match '^\s+Signal' -Replace '^\s+Signal\s+:\s+',''
2、 When the connection signal is less than or equal to 30%, Then a pop-up window will be displayed in the notification bar :
$cur_strength=(netsh wlan show interfaces) -Match '^\s+Signal' -Replace '^\s+Signal\s+:\s+','' | Out-String
If ($cur_strength.replace('%','') –le 30)
{
Add-Type -AssemblyName System.Windows.Forms
$global:balmsg = New-Object System.Windows.Forms.NotifyIcon
$path = (Get-Process -id $pid).Path
$balmsg.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon($path)
边栏推荐
- Introduction to the gtid mode of MySQL master-slave replication
- Change the background color of a pop-up dialog
- 微信小程序;胡言乱语生成器
- ROS command line tool
- To sort out messy header files, I use include what you use
- Main window in QT application
- es使用collapseBuilder去重和只返回某个字段
- Database postragesql client authentication
- Behind the cluster listing, to what extent is the Chinese restaurant chain "rolled"?
- Classification of performance tests (learning summary)
猜你喜欢
Take you ten days to easily complete the go micro service series (IX. link tracking)
Arbitrum: two-dimensional cost
Delaying wages to force people to leave, and the layoffs of small Internet companies are a little too much!
After reading the average code written by Microsoft God, I realized that I was still too young
Incremental backup? db full
FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
【大型电商项目开发】性能压测-优化-中间件对性能的影响-40
To sort out messy header files, I use include what you use
【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
增量备份 ?db full
随机推荐
Database postragesq BSD authentication
Basic operations of database and table ----- delete index
线上故障突突突?如何紧急诊断、排查与恢复
PHP Basics - detailed explanation of DES encryption and decryption in PHP
DOM basic syntax
【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
What is the length of SHA512 hash string- What is the length of a hashed string with SHA512?
Yyds dry inventory swagger positioning problem ⽅ formula
Redis master-slave replication cluster and recovery ideas for abnormal data loss # yyds dry goods inventory #
If the consumer Internet is compared to a "Lake", the industrial Internet is a vast "ocean"
MATLB|多微电网及分布式能源交易
Global and Chinese market of nutrient analyzer 2022-2028: Research Report on technology, participants, trends, market size and share
Interesting practice of robot programming 16 synchronous positioning and map building (SLAM)
Change the background color of a pop-up dialog
微信小程序:独立后台带分销功能月老办事处交友盲盒
Delaying wages to force people to leave, and the layoffs of small Internet companies are a little too much!
Global and Chinese markets for stratospheric UAV payloads 2022-2028: Research Report on technology, participants, trends, market size and share
【CTF】AWDP总结(Web)
C语音常用的位运算技巧
Nebula importer data import practice