查看 .NET Framework 版本
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse |
Get-ItemProperty -Name Version, Release -ErrorAction 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release
查看主板型号
C:\> msinfo32
C:\> wmic baseboard get product,manufacturer,version,serialnumber
PS C:\> Get-CimInstance -ClassName Win32_baseboard
PS C:\> Get-WmiObject win32_baseboard | Format-List Product,Manufacturer,SerialNumber,Version
外网端口 ping
tcping
tcping.exe -d -t xxx.xxx.xxx.xxx port
跳过Win10联网登记
Shift + F10 oobe\bypassnro
查看更新
wmic qfe
打开网络连接
ncpa.cpl
命令查找文件
dir \*.pdf /s
dir d:\ *.mdf /s
自动登陆
control userpasswords2
远程桌面
mstsc /v:2.2.2.28 /admin /w:1920 /h:1080
开机默认启动项路径
C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Windows Server 2012 R2 远程桌面连接 出现身份错误 要求的函数不受支持
是win10客户端的问题
在客户端本地,Win+R输入 gpedit.msc 本地组策略编辑器>计算机配置>管理模板>系统>凭据分配>编辑 加密 Oracle修正 将保护级别从 已缓解 修改为 易受攻击
截图Bat
@echo off start snippingtool exit
snipping tool
#矩形选择模式下打开剪切工具,然后将所选区域复制到剪贴板 shift+win+s
计划任务程序
mmc.exe /s taskschd.msc
cmd控制台切换英文显示
chcp 437
Windows Modules Installer Worker高磁盘使用率
停止 Windows update 服务
删除:C:\Windows\SoftwareDistribution
导入如下注册表
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost] "Ethernet"=dword:00000002
行间距(黄金比例) = 字号*0.618+字号
即:行间距 = 字号x1.618
另:正文中文行间距 = 字号放大0.25倍*1.618
获取启动项信息
powershell
Get-CimInstance Win32_StartupCommand | Select-Object Name, command, Location, User | Format-List | out-file $home\Desktop\Startup.txt
计划任务列表
poershell
schtasks /query > $home\Desktop\List.txt
在Windows命令行环境下查看文件的MD5/SHA1/SHA256值
打印机的无线设置已完成,但打印机无法与您的PC通信
最终查明,是路由器上开启了AP隔离,关掉就好了。
打开cmd,将映像拖入 yourFullPathFile 位置,直接执行以下命令
yourFullPathFile 为 iso 映像的完整地址
certutil -hashfile yourFullPathFile MD5
certutil -hashfile yourFullPathFile SHA1
certutil -hashfile yourFullPathFile SHA256