Win10 LTSB Add MicrosoftStore
- To : LTSB-Add-MicrosoftStore
- Run: Add-Store.cmd
Windows show Windows/File
explorer .
explorer ..
explorer [dirName]
start .
Desktop Context Menu
计算机\HKEY_CLASSES_ROOT\Directory\Background\shell
DOS Clean
cls
Netstat Find/Kill
netstat -ano|findstr 8000
查看占用8000端口的进程tasklist | findstr 8608
查看进程的信息taskkill /pid 8608 /f
关闭进程
Install Chocolatey
- At PowerShell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- https://chocolatey.org/install
- At CMD
@powershell Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Choco
choco list -lo
查看用 chocolatey 安装的软件choco list -li
查看所有已安装的软件choco uninstall [name]
卸载软件
Nslookup
nslookup www.baidu.com
查看域名当前 IP
Net user
net user
查看当前计算机用户名
Arp -a
arp -a
查看当前局域网内的所有 IP
Net share
net share
查看本机上的共享资源net share [name]/delete
删除共享资源
Netsh wlan
netsh wlan show profile [wlanName] key=clear
查看已连接 Wi-Fi 的详细信息,包含密码
|
ipconfig | clip
将结果输出到剪贴板
&&
ipconfig && arp -a
连接多个命令,只有前面一个执行成功,后面的才执行- & 一个一个执行
- PowerShell 不支持
VSCode Column edit
- Shift + Alt + 左键
Google Clean up cache
- Shift + ctrl + R
Comfortable colors
- #39ff70
The Lost Worlds
telnet towel.blinkenlights.nl
Check WIN Version
winver
cmd- win + R , 输入 winver
PowerShell Theme
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
notepad $PROFILE
在打开的文件中写入
1
2
3Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox如果出现 “···无法加载文件 **.ps1,因为在此系统中禁止执行脚本···”
- 就执行
set-ExecutionPolicy RemoteSigned
修改主题,把下面出现的主题名写入上面的文件中
在 fluent 打开
- 如有以下错误
1
···PowerShell_profile.ps1 cannot be loaded because running scripts is disabled on this system···
-执行 Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"
MySQL install/linking
- 👉 MySQL Community Downloads
- 👉 Windows10 MYSQL Installer 安装(mysql-installer-community-5.7.19.0.msi)
- 👉 解决Navicat for MySQL 连接 Mysql 8.0.11 出现1251- Client does not support authentication protocol 错误
- 👉 配置mysql允许远程连接的方法
Show wifi info histroy
1 | [cc lang="php"] |
Clean network link
- 删除映射过的网络磁盘连接
- 用于清除映射磁盘的账户信息,切换用户登录磁盘
net use * /del /y
Roboot start
- win10 添加开机启动项
- win + r
shell:startup
- 往该文件夹里放启动文件即可